POST api/Admin/AllowRoute

Get Allow Routue List for Agent/SalesMan

Request Information

Parameters

NameDescriptionAdditional information
beData
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "PassKey": "sample string 1",
  "Token": "sample string 2",
  "AgentId": 3,
  "RouteIdList": "sample string 4"
}

application/xml, text/xml

Sample:
<AllowRoute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.BusinessEntity">
  <AgentId>3</AgentId>
  <PassKey>sample string 1</PassKey>
  <RouteIdList>sample string 4</RouteIdList>
  <Token>sample string 2</Token>
</AllowRoute>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "IsSuccess": true,
    "ResponseMSG": "sample string 2"
  },
  {
    "IsSuccess": true,
    "ResponseMSG": "sample string 2"
  },
  {
    "IsSuccess": true,
    "ResponseMSG": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfResponseValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.Global">
  <ResponseValue>
    <IsSuccess>true</IsSuccess>
    <ResponseMSG>sample string 2</ResponseMSG>
  </ResponseValue>
  <ResponseValue>
    <IsSuccess>true</IsSuccess>
    <ResponseMSG>sample string 2</ResponseMSG>
  </ResponseValue>
  <ResponseValue>
    <IsSuccess>true</IsSuccess>
    <ResponseMSG>sample string 2</ResponseMSG>
  </ResponseValue>
</ArrayOfResponseValue>