Creates a new contact person for a specific contract.
Endpoint
POST /contracts/{contractId}/contact-personsAuthentication
Required: Authorization header with valid token
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contractId | uuid | Yes | Contract unique identifier |
Request Body
{
"name": "string",
"position": "string",
"phone": "string",
"email": "string",
"isMain": "boolean",
"externalId": "string"
}All fields are optional.
Field Descriptions:
name- Contact person's nameposition- Contact person's job position or titlephone- Contact person's phone numberemail- Contact person's email address (validated as email format)isMain- Whether this is the primary contact person for the contract (default:false). Only one contact person per contract can be marked as mainexternalId- External system identifier for the contact person
Response
Error
Example Usage
curl -X POST "https://integration-api.ram.syniotec.com/master-data/v1/contract-management/contracts/123e4567-e89b-12d3-a456-426614174000/contact-persons" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "John Doe",
"position": "Site Manager",
"phone": "+1234567890",
"email": "[email protected]",
"isMain": true
}'