Create org office

POST /orgs/offices
application/json

Body Required

  • customId string

    A custom identifier for internal reference by your system (not used by missionX).

  • title string

    The name of the office.

  • An optional description for the office.

  • address string

    An optional office address.

  • country string

    An optional office country.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • _id string(ObjectId)

      The unique document ID.

    • customId string

      A custom identifier for internal reference by your system (not used by missionX).

    • title string

      The name of the office.

    • An optional description for the office.

    • address string

      An optional office address.

    • country string

      An optional office country.

  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
POST /orgs/offices
curl \
 -X POST https://open.api.missionx.ai/v1/orgs/offices \
 -H "Content-Type: application/json" \
 -d '{"customId":"string","title":"string","description":"string","address":"string","country":"string"}'
Request examples
{
  "customId": "string",
  "title": "string",
  "description": "string",
  "address": "string",
  "country": "string"
}
Response examples (200)
{
  "_id": "string",
  "customId": "string",
  "title": "string",
  "description": "string",
  "address": "string",
  "country": "string"
}
Response examples (400)
{
  "message": "string",
  "code": "string",
  "data": {
    "key": null
  }
}
Response examples (500)
{
  "message": "string",
  "code": "string",
  "data": {
    "key": null
  }
}