POST api/mapx/PostDiscountApprovalUpdate
Request Information
URI Parameters
None.
Body Parameters
DiscountApprovalName | Description | Type | Additional information |
---|---|---|---|
DBName | string |
None. |
|
UserId | string |
None. |
|
ApprovalInternalCode | string |
None. |
|
ApprovalStatus | string |
None. |
|
ApprovalRemarks | string |
None. |
|
discountApprovalItems | Collection of DiscountApprovalItems |
None. |
Request Formats
application/json, text/json
Sample:
{ "DBName": "sample string 1", "UserId": "sample string 2", "ApprovalInternalCode": "sample string 3", "ApprovalStatus": "sample string 4", "ApprovalRemarks": "sample string 5", "discountApprovalItems": [ { "ItemType": "sample string 1", "ItemCode": "sample string 2", "DiscountPurposeCode": 3.1, "Status": "sample string 4", "DiscountApprovedAmount": 5.1 }, { "ItemType": "sample string 1", "ItemCode": "sample string 2", "DiscountPurposeCode": 3.1, "Status": "sample string 4", "DiscountApprovedAmount": 5.1 } ] }
application/xml, text/xml
Sample:
<DiscountApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebAPI.Models"> <ApprovalInternalCode>sample string 3</ApprovalInternalCode> <ApprovalRemarks>sample string 5</ApprovalRemarks> <ApprovalStatus>sample string 4</ApprovalStatus> <DBName>sample string 1</DBName> <UserId>sample string 2</UserId> <discountApprovalItems> <DiscountApprovalItems> <DiscountApprovedAmount>5.1</DiscountApprovedAmount> <DiscountPurposeCode>3.1</DiscountPurposeCode> <ItemCode>sample string 2</ItemCode> <ItemType>sample string 1</ItemType> <Status>sample string 4</Status> </DiscountApprovalItems> <DiscountApprovalItems> <DiscountApprovedAmount>5.1</DiscountApprovedAmount> <DiscountPurposeCode>3.1</DiscountPurposeCode> <ItemCode>sample string 2</ItemCode> <ItemType>sample string 1</ItemType> <Status>sample string 4</Status> </DiscountApprovalItems> </discountApprovalItems> </DiscountApproval>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |