Apis::V4::ContactAssignments API

post a new assignment

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)
data The payload data that will be serialized into the new assignment
included List of new models to be created as related to new assignment

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMCwiZXhwIjoxNzA0NDczMjE5LCJpYXQiOjE3MDQ0NzMwMzl9.rXsur3uMnLXX9a8WDONzZKeDsgS2gUWWyexNfeqSufw
Host: example.org
Cookie: 

Route

POST /apis/v4/contact_assignments/

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMCwiZXhwIjoxNzA0NjQ1ODM5LCJpYXQiOjE3MDQ0NzMwMzl9.2qTzqk95R5XlA-X5BM2K8d-4aphajfriOh6_pxyFXJE
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"b852ffab1ef056c414f6e3bfa1949991"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 70f1a4b1-c6f6-4f01-9820-1f2cffb6471b
X-Runtime: 0.057008
Content-Length: 362

Status

201

Body