GET api/Order/Product
Request Information
URI Parameters
None.
Body Parameters
ProductRequestNone.
Request Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<ProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile" />
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ProductResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductList | Collection of ProductModel |
None. |
|
| Result | ResultType |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ProductList": [
{
"ProductName": "sample string 1",
"ProductCode": "sample string 2",
"Price": "sample string 3",
"BasePrice": "sample string 4",
"Kontor": "sample string 5",
"IsTimeLimited": true
},
{
"ProductName": "sample string 1",
"ProductCode": "sample string 2",
"Price": "sample string 3",
"BasePrice": "sample string 4",
"Kontor": "sample string 5",
"IsTimeLimited": true
}
],
"Result": 0,
"ErrorMessage": "sample string 1"
}
application/xml, text/xml
Sample:
<ProductResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.Mobile">
<_x003C_ErrorMessage_x003E_k__BackingField>sample string 1</_x003C_ErrorMessage_x003E_k__BackingField>
<_x003C_Result_x003E_k__BackingField>Success</_x003C_Result_x003E_k__BackingField>
<ProductList>
<ProductModel>
<BasePrice>sample string 4</BasePrice>
<IsTimeLimited>true</IsTimeLimited>
<Kontor>sample string 5</Kontor>
<Price>sample string 3</Price>
<ProductCode>sample string 2</ProductCode>
<ProductName>sample string 1</ProductName>
</ProductModel>
<ProductModel>
<BasePrice>sample string 4</BasePrice>
<IsTimeLimited>true</IsTimeLimited>
<Kontor>sample string 5</Kontor>
<Price>sample string 3</Price>
<ProductCode>sample string 2</ProductCode>
<ProductName>sample string 1</ProductName>
</ProductModel>
</ProductList>
</ProductResponse>