Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
RequestSuccess
curl --request GET \
--url https://connect.withvayu.com/contracts/{contractId} \
--header 'Authorization: Bearer <token>'{
"contract": {
"startDate": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"name": "<string>",
"salesForceOpportunityId": "<string>",
"endDate": "2023-11-07T05:31:56Z",
"products": [
{
"displayName": "<string>",
"description": "<string>",
"scheduling": {
"billingDay": 1,
"duration": {
"unit": "MONTH",
"value": 500
}
},
"pricing": {
"type": "ONE_TIME",
"price": 1
},
"catalogProductId": "<string>",
"productErpId": "<string>",
"nsClass": "<string>",
"nsClassId": "<string>"
}
],
"accountManager": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Get a Contract by id.
curl --request GET \
--url https://connect.withvayu.com/contracts/{contractId} \
--header 'Authorization: Bearer <token>'{
"contract": {
"startDate": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"name": "<string>",
"salesForceOpportunityId": "<string>",
"endDate": "2023-11-07T05:31:56Z",
"products": [
{
"displayName": "<string>",
"description": "<string>",
"scheduling": {
"billingDay": 1,
"duration": {
"unit": "MONTH",
"value": 500
}
},
"pricing": {
"type": "ONE_TIME",
"price": 1
},
"catalogProductId": "<string>",
"productErpId": "<string>",
"nsClass": "<string>",
"nsClassId": "<string>"
}
],
"accountManager": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
RequestSuccess
Show child attributes