Endpoint
POST /releasesAuthentication
Required: Authorization header with valid token
Request Body
{
"startDate": "2024-01-05T08:00:00Z",
"endDate": "2024-01-10T17:00:00Z",
"bookingId": "uuid",
"percentage": 50,
"quantity": 2.5,
"reason": "Equipment no longer needed on site",
"externalId": "external-release-123"
}Required Fields
startDate- Release start date (ISO 8601 format)bookingId- UUID of the booking to release
Optional Fields
endDate- Release end date (ISO 8601 format)percentage- Percentage of the booking to release (0–100)quantity- Quantity to release (minimum 0)reason- Reason for the releaseexternalId- External identifier for the release
Fields descriptions see here
Response
Error
Example Usage
Create release
curl -X POST "https://integration-api.ram.syniotec.com/master-data/v1/booking-management/releases" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"startDate": "2024-01-05T08:00:00Z",
"endDate": "2024-01-10T17:00:00Z",
"bookingId": "123e4567-e89b-12d3-a456-426614174000",
"percentage": 50,
"reason": "Equipment no longer needed on site",
"externalId": "external-release-123"
}'