The Contracts Management module provides comprehensive functionality for creating, managing, and tracking rental contracts within the Syniotec API Platform.
Base URL:
https://integration-api.ram.syniotec.com/master-data/v1/contract-management
Available Operations:
- POST
/contractsCreate a new contract - GET
/contractsRetrieve contracts with filtering and pagination - GET
/contracts/{id}- Get contract by ID - PATCH
/contracts/{id}- Update contract - DELETE
/contracts/{id}- Delete contract - GET
/contracts/external-id/{externalId}- Get contract by external ID
Data Models & Schemas
Contract Entity
{
"id": "string",
"pickUpAddress": "string",
"deliveryAddress": "string",
"selfPickUp": "boolean",
"title": "string",
"number": "string",
"startDate": "date-time",
"endDate": "date-time",
"author": "uuid",
"point": {
"lng": "number",
"lat": "number"
},
"organization": "uuid",
"clientId": "uuid",
"structureId": "uuid",
"street": "string",
"city": "string",
"country": "string",
"constructionName": "string",
"zipCode": "string",
"contactName": "string",
"contactPosition": "string",
"contactPhone": "string",
"contactEmail": "string",
"additionalInformation": "string",
"externalId": "string",
"createdAt": "date-time",
"updatedAt": "date-time",
"bookings": []
}Field Descriptions:
id- A unique identifier for the record, typically a string that ensures each entry can be distinctly referencedpickUpAddress- The pickup address for the contractdeliveryAddress- The delivery address for the contractselfPickUp- A boolean value indicating whether the client will pick up the items themselvestitle- A brief, descriptive title of contract, providing an overview of its purpose or subjectnumber- Autogenerated reference number associated with the record, which could be an internal tracking number or an identifier for organization purposesstartDate- The date and time when contract begins, formatted in ISO 8601 standard (UTC). This field should indicate when the activity is set to startendDate- The date and time when the contract concludes, also formatted in ISO 8601 standard (UTC). This marks the end of the activityauthor- A unique identifier (UUID) representing the individual or system that created the record. This helps track who is responsible for the entrypoint- An object containing geographical coordinates with longitude (lng) and latitude (lat)organization- A unique identifier (UUID) for the organization associated with the record, helping to link the entry to a specific entitystructureId- A unique identifier (UUID) for the structure where the record is associated, might be reflecting different kind of internal organizational classificationclientId- A unique identifier (UUID) for the client associated with the recordstatus- Contract status which is based on bookings (See available options here: BillingStatusbillingStatus- Contract billing status (See available options here: BookingStatusstreet- The street address related to the contract, providing specific location detailscity- The city where the contract takes place, necessary for location identificationcountry- The country associated with the record, important for geographical contextconstructionName- A name associated with the construction or venue, if applicable, providing further identification for the locationzipCode- The postal code for the address, assisting in pinpointing the exact locationcontactName- The name of the primary contact person for the record, important for communication purposescontactPhone- The phone number of the primary contact person, providing a way to reach out for inquiries or informationcontactEmail- The email address of the primary contact person, enabling electronic communication regarding the recordadditionalInformation- Any extra details or notes relevant to the record that may not fit into the other specified fieldsexternalId- An identifier that connects this record to external systems or databases, facilitating integration with other platformscreatedAt- Timestamp indicating when this contract was first created in the systemupdatedAt- Timestamp indicating when this contract was last updated in the systembookings- Array of associated bookings for this contract
Error Response DTO
Standard error response format.
{
"status": "number",
"success": "boolean",
"message": "string",
"error": "string"
}Field Descriptions:
status- HTTP status code (400-503)success- Boolean indicating the operation failed (false)message- Human-readable error messageerror- Error code identifier