POST
/
v1
/
priceagreement
/
{id}
/
link
curl --request POST \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/v1/priceagreement/{id}/link \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "accountId": "<string>",
    "validFrom": "2022-05-12T13:18:05Z",
    "validTo": "2022-05-12T13:18:05Z"
  }
]'
{
  "description": "<string>",
  "links": [
    {
      "accountId": "<string>",
      "id": "<string>"
    }
  ]
}

Path Parameters

id
string
required

The id of the price agreement you want to connect the accounts to

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json · object[]

Request information needed to create the price agreement

The body is of type object[].

Response

201
application/json

Successfully created

The response is of type object.