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.eyJ1c2VyX2lkIjoxMDYsImV4cCI6MTc5NDU0MDIxMywiaWF0IjoxNzk0NTQwMDMzfQ.e7xoSVCfyYQmb95dUiMjeiZZWYKCzXAqdFdO89wMrus
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.eyJ1c2VyX2lkIjoxMDYsImV4cCI6MTc5NDcxMjgzMywiaWF0IjoxNzk0NTQwMDMzfQ.7KPklOWW-KcuhzWt9kiDWCgg_bWTthgme_t6ACP86jU
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"6ed8900fdd72cb80cda418c8ef213b62"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 028a27c0-56e8-481f-8c30-b7e480233a4a
X-Runtime: 0.052833
Content-Length: 367

Status

201

Body