Contract expense template lines

Contract expense template line.

List contract expense template lines

get/objects/contracts/expense-template-line

Returns up to 100 object references from the collection with a key, ID, and link for each contract expense template line. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "7",
      • "id": "7",
      • "href": "/objects/contracts/expense-template-line/7"
      }
    ],
  • "ia::meta": {
    • "totalCount": 1,
    • "start": 1,
    • "pageSize": 100,
    • "next": null,
    • "previous": null
    }
}

Get a contract expense template line

get/objects/contracts/expense-template-line/{key}

Returns detailed information for a specified contract expense template line.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the contract expense template line.

Example: 7
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "7",
    • "contractExpenseTemplate": {
      • "key": "37",
      • "href": "/objects/contracts/expense-template/37"
      },
    • "periodOffset": "1",
    • "percentToRecognize": "50.00000000",
    • "href": "/objects/contracts/expense-template-line/7"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Query expense template lines

post/services/core/query

Use the query service to find expense template lines that meet certain criteria and to specify the properties that are returned.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}