Billing template lines

Use billing template lines to specify the percentages complete at which you want to invoice.

List billing template lines

get/objects/contracts/billing-template-line

Returns a collection with a key, ID, and link for each billing template entry.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "7",
      • "id": "7",
      • "href": "/objects/contracts/billing-template-line/7"
      }
    ],
  • "ia::meta": {
    • "totalCount": 1
    }
}

Get a billing template entry

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

Returns detailed information for a specified billing template entry.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned key for the billing template entry.

Example: 147
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "key": "7",
    • "billingTemplate": {
      • "key": "37",
      • "href": "/objects/contracts/billing-template/37"
      },
    • "periodOffset": "1",
    • "stepPercent": "1.00000000",
    • "periodPercent": "50.00000000",
    • "href": "/objects/contracts/billing-template-line/7"
    },
  • "ia::meta": {
    • "totalCount": 1
    }
}

Query billing template lines

post/services/core/query

Use the query service to find billing 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
    }
}