POST v1/JobCost/OperationList

Request Information

URI Parameters

None.

Body Parameters

OperationListRequest
NameDescriptionTypeAdditional information
OperationCode

string

None.

Description

string

None.

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OperationListRequest'.

Response Information

Resource Description

Collection of OperationListResponse
NameDescriptionTypeAdditional information
Operations

Collection of Operation

None.

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
      }
    ]
  }
]