Subjects

Create a subject

post/subjects

Request

  • Base URL
    https://api-staging.fanheroapi.com
  • URL
    https://api-staging.fanheroapi.com/subjects
  • Auth
    API key in header apiKey

Headers

organizationstring required

The URL of the end-user web application

Request body

entitystring required

Entity identified by this subject

fieldsstring[] required

Fields

Example request

{
  "entity": "accountstatuses",
  "fields": [
    "all"
  ]
}

Response

Subject created

idstring

Subject ID

fieldsstring[]

Fields

entitystring

Entity identified by this subject

Example response

{
  "id": "896632c05f1a59b6d395b963",
  "fields": [
    "name",
    "address"
  ],
  "entity": "accountstatuses"
}

Changes

No recorded changes to this operation across all 1 revision of this API.