GET v1/customfields

Retrieves all CustomFields

Request Information

Parameters

NameDescriptionAdditional information
location_id ID of Location to filter by. (Optional)

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "customFields": [
    {
      "id": 1,
      "location": 2,
      "customFieldNumber": "sample string 3",
      "fieldName": "sample string 4",
      "fieldType": "sample string 5"
    },
    {
      "id": 1,
      "location": 2,
      "customFieldNumber": "sample string 3",
      "fieldName": "sample string 4",
      "fieldType": "sample string 5"
    },
    {
      "id": 1,
      "location": 2,
      "customFieldNumber": "sample string 3",
      "fieldName": "sample string 4",
      "fieldType": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <CustomFields>
    <CustomField>
      <CustomFieldNumber>sample string 3</CustomFieldNumber>
      <FieldName>sample string 4</FieldName>
      <FieldType>sample string 5</FieldType>
      <Id>1</Id>
      <Location>2</Location>
    </CustomField>
    <CustomField>
      <CustomFieldNumber>sample string 3</CustomFieldNumber>
      <FieldName>sample string 4</FieldName>
      <FieldType>sample string 5</FieldType>
      <Id>1</Id>
      <Location>2</Location>
    </CustomField>
    <CustomField>
      <CustomFieldNumber>sample string 3</CustomFieldNumber>
      <FieldName>sample string 4</FieldName>
      <FieldType>sample string 5</FieldType>
      <Id>1</Id>
      <Location>2</Location>
    </CustomField>
  </CustomFields>
</Resources>