GET api/order/Order/MiscFieldSearch/{fieldName}/{valueToSearch}
This API method will allow you to search orders for a specified Misc field and return a list of matching Order IDs
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fieldName |
The name of the Misc Field to search. |
string |
Required |
| valueToSearch |
The value to search against the provided Field Name. Note that this search requires an exact match. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GenericEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
The ID that was found |
integer |
None. |
| EntityID |
The Entity # that was found |
string |
None. |
Response Formats
application/xml, text/xml
Sample:
<ListOfGenericEntity>
<GenericEntity>
<ID>1</ID>
<EntityID>sample string 2</EntityID>
</GenericEntity>
<GenericEntity>
<ID>1</ID>
<EntityID>sample string 2</EntityID>
</GenericEntity>
</ListOfGenericEntity>
application/json, text/json
Sample:
[
{
"ID": 1,
"EntityID": "sample string 2"
},
{
"ID": 1,
"EntityID": "sample string 2"
}
]