POST api/Store/ApproveRejectPushSalesVsrRequest
Request Information
URI Parameters
None.
Body Parameters
ApproveRejectPushSalesVsrRequestName | Description | Type | Additional information |
---|---|---|---|
businessId | integer |
None. |
|
userId | integer |
None. |
|
requestId | integer |
None. |
|
skuDetails | Collection of PushSalesVsrRequestItems |
None. |
|
approvalStatus | integer |
None. |
|
rejectReason | string |
None. |
|
customerId | integer |
None. |
|
stateId | integer |
None. |
|
cityId | integer |
None. |
|
cityName | string |
None. |
|
townId | integer |
None. |
|
townName | string |
None. |
|
orderSource | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "businessId": 1, "userId": 2, "requestId": 3, "skuDetails": [ { "itemId": 1, "skuCode": "sample string 2", "quantity": 3, "soldPrice": 4.0, "stockPointID": 5, "buyingPrice": 6.0 }, { "itemId": 1, "skuCode": "sample string 2", "quantity": 3, "soldPrice": 4.0, "stockPointID": 5, "buyingPrice": 6.0 } ], "approvalStatus": 4, "rejectReason": "sample string 5", "customerId": 6, "stateId": 7, "cityId": 8, "cityName": "sample string 9", "townId": 10, "townName": "sample string 11", "orderSource": "sample string 12" }
application/xml, text/xml
Sample:
<ApproveRejectPushSalesVsrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <approvalStatus>4</approvalStatus> <businessId>1</businessId> <cityId>8</cityId> <cityName>sample string 9</cityName> <customerId>6</customerId> <orderSource>sample string 12</orderSource> <rejectReason>sample string 5</rejectReason> <requestId>3</requestId> <skuDetails> <PushSalesVsrRequestItems> <buyingPrice>6</buyingPrice> <itemId>1</itemId> <quantity>3</quantity> <skuCode>sample string 2</skuCode> <soldPrice>4</soldPrice> <stockPointID>5</stockPointID> </PushSalesVsrRequestItems> <PushSalesVsrRequestItems> <buyingPrice>6</buyingPrice> <itemId>1</itemId> <quantity>3</quantity> <skuCode>sample string 2</skuCode> <soldPrice>4</soldPrice> <stockPointID>5</stockPointID> </PushSalesVsrRequestItems> </skuDetails> <stateId>7</stateId> <townId>10</townId> <townName>sample string 11</townName> <userId>2</userId> </ApproveRejectPushSalesVsrRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
dateTime | string |
None. |
|
StatusCode | integer |
None. |
|
ErrorMessage | string |
None. |
|
Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "1.0.0", "dateTime": "2025/04/04 06:55:59", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>