POST v1/JobCost/OperationList
Get Operation List
This is secure method and requires below attributes in header
Authorization: Midnight Authorize Token
Request Information
URI Parameters
None.
Body Parameters
OperationListRequestName | Description | Type | Additional information |
---|---|---|---|
OperationCode |
Operation Code search text |
string |
None. |
Description |
Description search text |
string |
None. |
Active |
Active |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "OperationCode": "sample string 1", "Description": "sample string 2", "Active": true }
application/xml, text/xml
Sample:
<OperationListRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <OperationCode>sample string 1</OperationCode> <Description>sample string 2</Description> <Active>true</Active> </OperationListRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Response Formats
application/json, text/json
Sample:
[ { "Operations": [ { "OperationCode": "sample string 1", "Description": "sample string 2", "Active": true }, { "OperationCode": "sample string 1", "Description": "sample string 2", "Active": true } ] }, { "Operations": [ { "OperationCode": "sample string 1", "Description": "sample string 2", "Active": true }, { "OperationCode": "sample string 1", "Description": "sample string 2", "Active": true } ] } ]