POST api/v1/indent/search
Search for an sales order
Request Information
URI Parameters
None.
Body Parameters
The parameters to search
Collection of IndentSearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchKey |
Search key |
IndentSearchKeyEnum |
None. |
| SearchValue |
Search value |
string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SearchKey": 0,
"SearchValue": "sample string 1"
},
{
"SearchKey": 0,
"SearchValue": "sample string 1"
}
]
application/xml, text/xml
Sample:
<ArrayOfIndentSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromotionalOffice.WebApi.Models.Indent">
<IndentSearchModel>
<SearchKey>Invalid</SearchKey>
<SearchValue>sample string 1</SearchValue>
</IndentSearchModel>
<IndentSearchModel>
<SearchKey>Invalid</SearchKey>
<SearchValue>sample string 1</SearchValue>
</IndentSearchModel>
</ArrayOfIndentSearchModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Multiple sales orders found by the search parameters
Collection of IndentSearchResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IndentNumberPrefix |
The prefix of the indent number |
string |
None. |
| IndentNumber |
The indent number |
integer |
None. |
| IndentNumberSuffix |
the suffix of the indent number |
string |
None. |
| CustomerName |
Name of the customer the indent is created for |
string |
None. |
| IsClosed |
Is the indent closed? |
boolean |
None. |
| IndentPrintedState |
The printed state of the indent |
GeneralStateEnum |
None. |
| IndentOrderedState |
The ordered state of the indent |
IndentStateEnum |
None. |
| IndentDeliverableState |
The deliverable state of the indent |
IndentStateEnum |
None. |
| IndentDeliveredState |
The delivered state of the indent |
IndentStateEnum |
None. |
| IndentCalculatedState |
The calculated state of the indent |
IndentStateEnum |
None. |
| UpdateTime |
Last change Date of the quote |
date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IndentNumberPrefix": "sample string 1",
"IndentNumber": 2,
"IndentNumberSuffix": "sample string 3",
"CustomerName": "sample string 4",
"IsClosed": true,
"IndentPrintedState": 0,
"IndentOrderedState": 0,
"IndentDeliverableState": 0,
"IndentDeliveredState": 0,
"IndentCalculatedState": 0,
"UpdateTime": "2025-11-07T17:37:07.9043936+00:00"
},
{
"IndentNumberPrefix": "sample string 1",
"IndentNumber": 2,
"IndentNumberSuffix": "sample string 3",
"CustomerName": "sample string 4",
"IsClosed": true,
"IndentPrintedState": 0,
"IndentOrderedState": 0,
"IndentDeliverableState": 0,
"IndentDeliveredState": 0,
"IndentCalculatedState": 0,
"UpdateTime": "2025-11-07T17:37:07.9043936+00:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfIndentSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://promotionaloffice.promidata.com/2012/08/08">
<IndentSearchResult>
<CustomerName>sample string 4</CustomerName>
<IndentCalculatedState>Unknown</IndentCalculatedState>
<IndentDeliverableState>Unknown</IndentDeliverableState>
<IndentDeliveredState>Unknown</IndentDeliveredState>
<IndentNumber>2</IndentNumber>
<IndentNumberPrefix>sample string 1</IndentNumberPrefix>
<IndentNumberSuffix>sample string 3</IndentNumberSuffix>
<IndentOrderedState>Unknown</IndentOrderedState>
<IndentPrintedState>Unknown</IndentPrintedState>
<IsClosed>true</IsClosed>
<UpdateTime>2025-11-07T17:37:07.9043936+00:00</UpdateTime>
</IndentSearchResult>
<IndentSearchResult>
<CustomerName>sample string 4</CustomerName>
<IndentCalculatedState>Unknown</IndentCalculatedState>
<IndentDeliverableState>Unknown</IndentDeliverableState>
<IndentDeliveredState>Unknown</IndentDeliveredState>
<IndentNumber>2</IndentNumber>
<IndentNumberPrefix>sample string 1</IndentNumberPrefix>
<IndentNumberSuffix>sample string 3</IndentNumberSuffix>
<IndentOrderedState>Unknown</IndentOrderedState>
<IndentPrintedState>Unknown</IndentPrintedState>
<IsClosed>true</IsClosed>
<UpdateTime>2025-11-07T17:37:07.9043936+00:00</UpdateTime>
</IndentSearchResult>
</ArrayOfIndentSearchResult>