SalesOS.

Contracts

Contract lifecycle management

Contracts Controller_list Contracts

GET
/api/contracts

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Query Parameters

statusRequiredstring
accountIdRequiredstring
renewalDueRequiredstring
curl -X GET "https://www.salesos.org/api/api/contracts?status=%3Cstring%3E&accountId=%3Cstring%3E&renewalDue=%3Cstring%3E" \
  -H "Authorization: Bearer <token>"

Contracts Controller_create Contract

POST
/api/contracts

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

curl -X POST "https://www.salesos.org/api/api/contracts" \
  -H "Authorization: Bearer <token>"

Contracts Controller_get Contract Stats

GET
/api/contracts/stats

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

curl -X GET "https://www.salesos.org/api/api/contracts/stats" \
  -H "Authorization: Bearer <token>"

Contracts Controller_get Contract

GET
/api/contracts/{id}

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Path Parameters

idRequiredstring
curl -X GET "https://www.salesos.org/api/api/contracts/<string>" \
  -H "Authorization: Bearer <token>"

Contracts Controller_update Contract

PATCH
/api/contracts/{id}

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Path Parameters

idRequiredstring
curl -X PATCH "https://www.salesos.org/api/api/contracts/<string>" \
  -H "Authorization: Bearer <token>"

Contracts Controller_submit For Review

POST
/api/contracts/{id}/submit

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Path Parameters

idRequiredstring
curl -X POST "https://www.salesos.org/api/api/contracts/<string>/submit" \
  -H "Authorization: Bearer <token>"

Contracts Controller_approve Contract

POST
/api/contracts/{id}/approve

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Path Parameters

idRequiredstring
curl -X POST "https://www.salesos.org/api/api/contracts/<string>/approve" \
  -H "Authorization: Bearer <token>"

Contracts Controller_activate Contract

POST
/api/contracts/{id}/activate

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Path Parameters

idRequiredstring
curl -X POST "https://www.salesos.org/api/api/contracts/<string>/activate" \
  -H "Authorization: Bearer <token>"

Contracts Controller_terminate Contract

POST
/api/contracts/{id}/terminate

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Path Parameters

idRequiredstring
curl -X POST "https://www.salesos.org/api/api/contracts/<string>/terminate" \
  -H "Authorization: Bearer <token>"

Contracts Controller_renew Contract

POST
/api/contracts/{id}/renew

Authorization

AuthorizationRequiredBearer <token>

Enter your JWT token

In: header

Path Parameters

idRequiredstring
curl -X POST "https://www.salesos.org/api/api/contracts/<string>/renew" \
  -H "Authorization: Bearer <token>"