POST/projects/api/v3/companies/{companyId}/customfields.json

Add company custom field value.

Add a company custom field value.

Path Params

  • Name
    companyId
    Type
    integer
    required
    Description

Body Params

    • Name
      customfieldCompany
      Type
      object
      Description
      CustomFieldValue contains all the information returned from a customfield.

    Responses

    • Code
      201
      Type
      object
      Schema
      Description
      201 Created
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    201 Created

    responseCompany
    {  "customfieldCompany": {    "company": {      "id": 0,      "meta": {},      "type": "string"    },    "companyId": 0,    "countryCode": "string",    "createdAt": "string",    "createdBy": 0,    "currencySymbol": "string",    "customfield": {      "id": 0,      "meta": {},      "type": "string"    },    "customfieldId": 0,