POST api/Service/GetCustomerPrices
Request Information
URI Parameters
None.
Body Parameters
CustomerPricesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Input | CustomerPricesInputModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Input": {
"CustomerID": "sample string 1",
"UserNo": 2
}
}
application/xml, text/xml
Sample:
<CustomerPricesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<Input>
<CustomerID>sample string 1</CustomerID>
<UserNo>2</UserNo>
</Input>
</CustomerPricesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerPricesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OutPut | CustomerPricesOutPutModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"OutPut": {
"Success": true,
"Message": "sample string 2",
"CustomerPrices": {
"CustomerPricesInfo": [
{
"CustomerID": "sample string 1",
"ItemID": "sample string 2",
"Price": 3.0,
"CurrentTax": 4.0
},
{
"CustomerID": "sample string 1",
"ItemID": "sample string 2",
"Price": 3.0,
"CurrentTax": 4.0
}
]
}
}
}
application/xml, text/xml
Sample:
<CustomerPricesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<OutPut>
<CustomerPrices>
<CustomerPricesInfo>
<CustomerPricesModel>
<CurrentTax>4</CurrentTax>
<CustomerID>sample string 1</CustomerID>
<ItemID>sample string 2</ItemID>
<Price>3</Price>
</CustomerPricesModel>
<CustomerPricesModel>
<CurrentTax>4</CurrentTax>
<CustomerID>sample string 1</CustomerID>
<ItemID>sample string 2</ItemID>
<Price>3</Price>
</CustomerPricesModel>
</CustomerPricesInfo>
</CustomerPrices>
<Message>sample string 2</Message>
<Success>true</Success>
</OutPut>
</CustomerPricesResponse>