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.eyJ1c2VyX2lkIjo2OSwiZXhwIjoxNzU0NTk2NDc5LCJpYXQiOjE3NTQ1OTYyOTl9.dvk-AaWo7Yjmp6utMe34-AubiW5_BzkjfhXYAQiYIrs
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.eyJ1c2VyX2lkIjo2OSwiZXhwIjoxNzU0NzY5MDk5LCJpYXQiOjE3NTQ1OTYyOTl9.DdjD73sbM04Dv9W0yZLMR8RmKrwx4ytdL7XAAc6NC4o
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"e60a745b486d2c7ef5cb183f64946f5f"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 6f7a0b49-d898-4a32-814b-e1c6cb162f43
X-Runtime: 0.042989
Content-Length: 367

Status

201

Body