POST api/V3/Outlet/UpdateErpId/{OutletGuid}
Api to Update the ERPID of an Outlet from the GUID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OutletGuid |
The outlet GUID to be Updated |
string |
Required |
Body Parameters
ERP ID to be inserted in the Outlet
V3.ErpIdUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OutletErpId |
The new ERP Id to be updated to the system |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OutletErpId": "sample string 1"
}
application/xml, text/xml
Sample:
<ErpIdUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalApis.V3.Models"> <OutletErpId>sample string 1</OutletErpId> </ErpIdUpdateModel>
Response Information
Resource Description
ApiResponseMessage| Name | 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>