Get contract

GET {{baseUrl}}/api/v1/accounts/:account_id/contracts

Getting contracts of an Account

OAuth Scope

  • Desk.settings.READ

Request Params

KeyDatatypeRequiredDescription
fromstringFrom index,DEFAULT 1
limitstringNumber of contracts to fetch, Ranges from 1-50, DEFAULT 50
departmentIdstringID of the department from which the contracts must be fetched
contractStatusstringContract Status,Indicates the Current Status of the Contract, Values are ACTIVE, EXPIRED, FUTURE

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"slaName":"Priority-based SLAs","endDate":"2016-07-16","slaGroupId":"4000000007069","departmentId":"4000000007043","contractId":"4000000032003","contractNumber":"1212","description":"contract for all desk account","contractName":"Contract for desk account","ownerId":"4000000008692","startDate":"2016-06-16"}]}