Contracts
Get Contract
Use this API to retrieve a single contract by its unique identifier. The response will include details such as the created date, approved date, and corresponding approvers.
get/api/vendor/v1/contracts/{contractId}/contracts
Path parameters
contractIdstring uuid required
Example:db3398d0-cbce-4796-b248-614661cf256b
The unique identifier of the contract.
Query parameters
excludeAttachmentsboolean
The flag to indicate if the attachments list shall be returned in the response.
Response
OK
Example response
{
"id": "db3398d0-cbce-4796-b248-614661cf256b",
"name": "Microsoft Azure Services Agreement",
"vendorId": "5ec48d61-1562-43ad-87a3-6fc7073494af",
"vendorName": "Microsoft",
"orgGroupId": "a41972ae-2050-4126-b314-1a58d08ea116",
"attachments": [
{
"id": "db3398d0-cbce-4796-b248-614661cf256b",
"attachmentId": "7e7f532b-2427-4f45-84f4-67bdb24c5831",
"resourcePath": "/contracts/attachments/contract_agreement.pdf",
"attachmentDescription": "Signed contract agreement document",
"fileName": "contract_agreement.pdf",
"createdBy": "John Smith",
"createdDate": "2023-05-16T14:30:00Z"
}
],
"status": "ACTIVE",
"agreementCreatedDate": "2023-05-16T00:00:00.000+00:00",
"contractTypeId": "3a4d3855-fe68-446d-99e3-90897ab1cc17",
"contractTypeName": "Privacy Policy",
"contractTypeNameKey": "PrivacyPolicy",
"approvedDate": "2023-05-16",
"expirationDate": "2024-05-15",
"contractOwnerId": "8a732373-9713-4f93-98f6-cae431e61956",
"contractOwner": "Antonio",
"vendorContact": "antanio@microsoft.com",
"approvers": "amara@microsoft.com, john.doe@company.com",
"note": "Contract has been updated recently for Microsoft vendor",
"cost": 10000,
"url": "https://www.microsoft.com",
"schemaId": "36e2d4a1-379f-4263-8e05-6e3a3207a834",
"attributeValues": {
"attributeSingleSelectValue.value21": [
{
"id": "c5c3167e-f8e2-4719-a0a1-491350507fee",
"valueKey": "OneTrustApp.VRM.Contract.Attributes.e38d9fe7-a5b7-43b0-b79f-ed7940669c99",
"value": "Recently Updated"
}
]
},
"statusKey": "New"
}