POST api/UserReferral?AccessToken={AccessToken}&UserId={UserId}&JobId={JobId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
Required |
|
| UserId | integer |
Required |
|
| JobId | integer |
Required |
Body Parameters
CreateUserReferralRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ReferredToUser | Collection of ReferredToUser |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReferredToUser": [
{
"ReferredToUserId": 1,
"ReferredToEmail": "sample string 1"
},
{
"ReferredToUserId": 1,
"ReferredToEmail": "sample string 1"
}
]
}
application/xml, text/xml
Sample:
<CreateUserReferralRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Udyoga.Models.UserModels.UserReferral">
<ReferredToUser xmlns:d2p1="http://schemas.datacontract.org/2004/07/Udyoga.Models.UserModels.UserReferral.ReferredToUser">
<d2p1:ReferredToUser>
<d2p1:ReferredToEmail>sample string 1</d2p1:ReferredToEmail>
<d2p1:ReferredToUserId>1</d2p1:ReferredToUserId>
</d2p1:ReferredToUser>
<d2p1:ReferredToUser>
<d2p1:ReferredToEmail>sample string 1</d2p1:ReferredToEmail>
<d2p1:ReferredToUserId>1</d2p1:ReferredToUserId>
</d2p1:ReferredToUser>
</ReferredToUser>
</CreateUserReferralRequest>
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.