POST api/Lookup/GetDefaultDeliveryCustomer
Gets default delivery customer for new requisition
Request Information
URI Parameters
None.
Body Parameters
GetDeliveryCustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RequisitionType |
Get or set requisition type |
string |
None. |
| CombinedActivityId |
Get or set combined activity id |
string |
None. |
| SelectedStock |
Get or set selected stock |
string |
None. |
| TicketId |
Gets or sets the ticket id |
string |
None. |
| Culture |
Gets or sets culture, if not specified we will use culture set on user. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RequisitionType": "sample string 1",
"CombinedActivityId": "sample string 2",
"SelectedStock": "sample string 3",
"TicketId": "sample string 4",
"Culture": "sample string 5"
}
application/xml, text/xml
Sample:
<LookupController.GetDeliveryCustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rostov.Controllers">
<Culture xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">sample string 5</Culture>
<TicketId xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">sample string 4</TicketId>
<CombinedActivityId>sample string 2</CombinedActivityId>
<RequisitionType>sample string 1</RequisitionType>
<SelectedStock>sample string 3</SelectedStock>
</LookupController.GetDeliveryCustomerModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomerReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Customer |
Gets or sets customer |
CustomerModel |
None. |
| CombinedPerformanceId |
Gets or sets the performance id. If performance monitoring is not turned on this property will not be present or set to null |
string |
Json null value handling: Ignore |
Response Formats
application/json, text/json
Sample:
{
"Customer": {
"CustomerId": "sample string 1",
"Name": "sample string 2",
"Address": "sample string 3",
"Zip": "sample string 4",
"City": "sample string 5",
"Contact": "sample string 6"
},
"CombinedPerformanceId": "sample string 1"
}
application/xml, text/xml
Sample:
<CustomerReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rostov.Models">
<CombinedPerformanceId>sample string 1</CombinedPerformanceId>
<Customer>
<Address>sample string 3</Address>
<City>sample string 5</City>
<Contact>sample string 6</Contact>
<CustomerId>sample string 1</CustomerId>
<Name>sample string 2</Name>
<Zip>sample string 4</Zip>
</Customer>
</CustomerReturnModel>