POST
/
media-bridge
/
v1
/
{appId}
/
properties
/
{objectType}
/
batch
/
create
Mehrere Eigenschaften erstellen
curl --request POST \
  --url https://api.hubapi.com/media-bridge/v1/{appId}/properties/{objectType}/batch/create \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {
      "hidden": true,
      "displayOrder": 123,
      "description": "<string>",
      "label": "<string>",
      "type": "bool",
      "formField": true,
      "dataSensitivity": "non_sensitive",
      "groupName": "<string>",
      "referencedObjectType": "<string>",
      "name": "<string>",
      "options": [
        {
          "hidden": true,
          "displayOrder": 123,
          "description": "<string>",
          "label": "<string>",
          "value": "<string>"
        }
      ],
      "calculationFormula": "<string>",
      "hasUniqueValue": true,
      "fieldType": "booleancheckbox",
      "externalOptions": true
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "favoritedOrder": 123,
      "enforceMultivalueUniqueness": true,
      "readOnlyValue": false,
      "hidden": false,
      "optionSortStrategy": "",
      "displayOrder": 123,
      "description": "",
      "showCurrencySymbol": false,
      "type": "",
      "readOnlyDefinition": false,
      "hubspotDefined": false,
      "allowedObjectTypes": "",
      "createdAt": 123,
      "searchTextAnalysisMode": "NONE",
      "textDisplayHint": "",
      "portalId": 123,
      "options": "",
      "isPartial": false,
      "optionsAreMutable": false,
      "hasUniqueValue": false,
      "calculated": false,
      "externalOptions": false,
      "dateDisplayHint": "absolute",
      "favorited": false,
      "updatedAt": 123,
      "createdUserId": 123,
      "canArchive": true,
      "fromUserId": 123,
      "mutableDefinitionNotDeletable": false,
      "isMultiValued": false,
      "sensitiveDataCategories": "",
      "canRestore": true,
      "currencyPropertyName": "",
      "owningAppId": 123,
      "isCustomizedDefault": false,
      "label": "",
      "formField": false,
      "displayMode": "",
      "dataSensitivity": "",
      "groupName": "",
      "deleted": false,
      "referencedObjectType": "",
      "name": "",
      "searchableInGlobalSearch": false,
      "externalOptionsReferenceType": "",
      "numberDisplayHint": "",
      "fieldType": ""
    }
  ],
  "status": "PENDING"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubKostenlos

Authorizations

hapikey
string
query
required

Body

application/json

Response

201
application/json

successful operation

The response is of type object.