POST api/V3/EmployeeJourney/UpdateRouteOutlet
Map the outlets with Route
Request Information
URI Parameters
None.
Body Parameters
V3.RouteOutletName | Description | Type | Additional information |
---|---|---|---|
Outlets |
List of Outlets in the Route |
Collection of string |
Required |
RouteErpId |
ErpId of the Route |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Outlets": [ "sample string 1", "sample string 2" ], "RouteErpId": "sample string 1" }
application/xml, text/xml
Sample:
<RouteOutlet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <Outlets xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Outlets> <RouteErpId>sample string 1</RouteErpId> </RouteOutlet>
Response Information
Resource Description
ApiResponseMessageName | Description | Type | Additional information |
---|---|---|---|
ERPId |
ERPID of the Requested insertion/updation |
string |
None. |
Message |
Error Message for the indicated ERPID |
string |
None. |
ResponseStatus |
Status of the action requested from Api |
ResponseStatus |
None. |
GUID |
GUID of the database Entry with respect to the ERP Id Provided |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ERPId": "sample string 1", "Message": "sample string 2", "ResponseStatus": "Failure", "GUID": "sample string 3" }
application/xml, text/xml
Sample:
<ApiResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.Models.Common"> <ERPId>sample string 1</ERPId> <GUID>sample string 3</GUID> <Message>sample string 2</Message> <ResponseStatus>Failure</ResponseStatus> </ApiResponseMessage>