POST api/AffilateMember
Request Information
URI Parameters
None.
Body Parameters
AffilateMemberName | Description | Type | Additional information |
---|---|---|---|
RecordNo | integer |
None. |
|
AffilateFK | integer |
None. |
|
Affilate | Affilate |
None. |
|
MemberEmail | string |
Required String length: inclusive between 0 and 50 |
|
MemberPhone | string |
None. |
|
IsinviteAccepted | boolean |
None. |
|
InvitedOnDate | date |
None. |
|
AffilateTemplateFK | integer |
None. |
|
EmailSubject | string |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordNo": 1, "AffilateFK": 2, "Affilate": { "RecordNo": 1, "AspNetUserFK": 2, "AffilateLink": "sample string 3", "RegistationDate": 4, "Commision": 5.0, "CreatedOn": "2024-12-23T00:04:47.9172952+00:00", "UpdatedOn": "2024-12-23T00:04:47.9172952+00:00", "IsDeleted": true }, "MemberEmail": "sample string 3", "MemberPhone": "sample string 4", "IsinviteAccepted": true, "InvitedOnDate": "2024-12-23T00:04:47.9172952+00:00", "AffilateTemplateFK": 1, "EmailSubject": "sample string 5", "CreatedOn": "2024-12-23T00:04:47.9172952+00:00", "UpdatedOn": "2024-12-23T00:04:47.9172952+00:00", "IsDeleted": true }
application/xml, text/xml
Sample:
<AffilateMember xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models"> <Affilate> <AffilateLink>sample string 3</AffilateLink> <AspNetUserFK>2</AspNetUserFK> <Commision>5</Commision> <CreatedOn>2024-12-23T00:04:47.9172952+00:00</CreatedOn> <IsDeleted>true</IsDeleted> <RecordNo>1</RecordNo> <RegistationDate>4</RegistationDate> <UpdatedOn>2024-12-23T00:04:47.9172952+00:00</UpdatedOn> </Affilate> <AffilateFK>2</AffilateFK> <AffilateTemplateFK>1</AffilateTemplateFK> <CreatedOn>2024-12-23T00:04:47.9172952+00:00</CreatedOn> <EmailSubject>sample string 5</EmailSubject> <InvitedOnDate>2024-12-23T00:04:47.9172952+00:00</InvitedOnDate> <IsDeleted>true</IsDeleted> <IsinviteAccepted>true</IsinviteAccepted> <MemberEmail>sample string 3</MemberEmail> <MemberPhone>sample string 4</MemberPhone> <RecordNo>1</RecordNo> <UpdatedOn>2024-12-23T00:04:47.9172952+00:00</UpdatedOn> </AffilateMember>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.