POST sales/SaveRepLinks
Request Information
URI Parameters
None.
Body Parameters
RepLinkCollection| Name | Description | Type | Additional information |
|---|---|---|---|
| LinkType | string |
None. |
|
| RepLinkInfo | Collection of RepLink |
None. |
|
| SingleRepInfo | RepLink |
None. |
|
| UniqueId | integer |
None. |
|
| RoleId | integer |
None. |
|
| AreaGroupId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LinkType": "sample string 1",
"RepLinkInfo": [
{
"UserId": 1,
"ObjectIds": [
1,
2
]
},
{
"UserId": 1,
"ObjectIds": [
1,
2
]
}
],
"SingleRepInfo": {
"UserId": 1,
"ObjectIds": [
1,
2
]
},
"UniqueId": 1,
"RoleId": 2,
"AreaGroupId": 3
}
text/html
Sample:
{"LinkType":"sample string 1","RepLinkInfo":[{"UserId":1,"ObjectIds":[1,2]},{"UserId":1,"ObjectIds":[1,2]}],"SingleRepInfo":{"UserId":1,"ObjectIds":[1,2]},"UniqueId":1,"RoleId":2,"AreaGroupId":3}
application/xml, text/xml
Sample:
<RepLinkCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Sales">
<AreaGroupId>3</AreaGroupId>
<LinkType>sample string 1</LinkType>
<RepLinkInfo>
<RepLink>
<ObjectIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</ObjectIds>
<UserId>1</UserId>
</RepLink>
<RepLink>
<ObjectIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</ObjectIds>
<UserId>1</UserId>
</RepLink>
</RepLinkInfo>
<RoleId>2</RoleId>
<SingleRepInfo>
<ObjectIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</ObjectIds>
<UserId>1</UserId>
</SingleRepInfo>
<UniqueId>1</UniqueId>
</RepLinkCollection>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.