APIs & Integrations

GVerma
参加者 | Diamond Partner
参加者 | Diamond Partner

"message": "This endpoint cannot be used to create HUBSPOT object types",

解決

I have used Deal schema to build a custom object which should work similar to deal object with stages. but it's giving me error  "message": "This endpoint cannot be used to create HUBSPOT object types".

Is it not possible to create a custom object with deal functionality?

 

0 いいね!
1件の承認済みベストアンサー
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

"message": "This endpoint cannot be used to create HUBSPOT object types",

解決

@GVerma 

Try to remove this:

"archived": false,
"restorable": true,
"metaType": "HUBSPOT",
"id": "3",
"fullyQualifiedName": "event",
 
"objectTypeId": "0-3",

This info will be populated on our end.  You are basically reusing something that is already an object with this which, as you know, won't work.

You also need to rename any property that starts with hs_ as this is reserved.

Lastly, before you actually create this object, I would highly recommend looking at all of it and make sure you need everything here.  You can add properties and associations later if needed.  Start with what you know you need and grow from there.

元の投稿で解決策を見る

0 いいね!
4件の返信
GVerma
参加者 | Diamond Partner
参加者 | Diamond Partner

"message": "This endpoint cannot be used to create HUBSPOT object types",

解決
{
"labels": {
"singular": "event",
"plural": "events"
},
"requiredProperties": [],
"searchableProperties": [
"pipeline",
"eventname"
 
],
"primaryDisplayProperty": "eventname",
"secondaryDisplayProperties": [
 
 
],
"archived": false,
"restorable": true,
"metaType": "HUBSPOT",
"id": "3",
"fullyQualifiedName": "event",
 
"objectTypeId": "0-3",
"properties": [
 
 
 
 
{
 
"name": "hs_is_closed",
"label": "Is event Closed?",
"type": "bool",
"fieldType": "calculation_equation",
"description": "True if the event was won or lost.",
"groupName": "eventinformation",
"options": [
{
"label": "True",
"value": "true",
"displayOrder": 0,
"hidden": false
},
{
"label": "False",
"value": "false",
"displayOrder": 1,
"hidden": false
}
],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"showCurrencySymbol": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
 
{
 
"name": "hs_line_item_global_term_hs_recurring_billing_period",
"label": "Global Term Line Item Recurring Billing Period",
"type": "string",
"fieldType": "text",
"description": "For internal HubSpot Application use only. Global term for product recurring billing duration.",
"groupName": "eventinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"showCurrencySymbol": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},


 
 
{
 
"name": "hs_next_step",
"label": "Next step",
"type": "string",
"fieldType": "textarea",
"description": "A short description of the next step for the event",
"groupName": "eventinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
 
"name": "hs_num_associated_active_event_registrations",
"label": "Number of Active event Registrations",
"type": "number",
"fieldType": "number",
"description": "The number of active event registrations associated with this event. This property is set automatically by HubSpot.",
"groupName": "event_activity",
"options": [],
"displayOrder": -1,
"calculated": true,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
 
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
 
"name": "hs_num_associated_event_registrations",
"label": "Number of event Registrations",
"type": "number",
"fieldType": "number",
"description": "The number of event registrations associated with this event. This property is set automatically by HubSpot.",
"groupName": "event_activity",
"options": [],
"displayOrder": -1,
"calculated": true,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
 
"name": "hs_num_associated_event_splits",
"label": "Number of event Splits",
"type": "number",
"fieldType": "number",
"description": "The number of event splits associated with this event. This property is set automatically by HubSpot.",
"groupName": "event_activity",
"options": [],
"displayOrder": -1,
"calculated": true,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
 
 
{
 
"name": "hs_predicted_amount",
"label": "The predicted event amount",
"type": "number",
"fieldType": "calculation_equation",
"description": "Returns the multiplication of the event amount times the predicted likelihood of the event to close by the close date.",
"groupName": "eventinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"showCurrencySymbol": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},

{
 
"name": "hs_time_in_appointmentscheduled",
"label": "Time in 'Classroom Booked (Sales Pipeline)'",
"type": "number",
"fieldType": "calculation_read_time",
"description": "The total time in seconds spent by the event in the 'Classroom Booked' stage, 'Sales Pipeline' pipeline",
"groupName": "event_activity",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
 
 

{
 
"name": "eventname",
"label": "event Name",
"type": "string",
"fieldType": "text"
 
 
},
{
 
"name": "amount",
"label": "Amount",
"type": "number",
"fieldType": "number"
 
 
},
{
"name": "eventstage",
"label": "event Stage",
"type": "enumeration",
"fieldType": "radio",
"description": "The stage of the event. event stages allow you to categorize and track the progress of the events that you are working on.",
"groupName": "event_activity",
"options": [{
"label": "True",
"readOnly": false,
"value": "true"
},
{
"label": "False",
"readOnly": false,
"value": "false"
}],
"displayOrder": 3,
"calculated": false,
"externalOptions": true
 
 
 
},
{
 
"name": "pipeline",
"label": "Pipeline",
"type": "enumeration",
"fieldType": "select",
"description": "The pipeline the event is in. This determines which stages are options for the event.",
"groupName": "event_activity",
"options": [{
"label": "True",
"readOnly": false,
"value": "true"
},
{
"label": "False",
"readOnly": false,
"value": "false"
}],
"displayOrder": 4,
"calculated": false,
"externalOptions": true
 
 
},
 

 
 

 
{
 
"name": "hubspot_team_id",
"label": "HubSpot Team",
"type": "enumeration",
"fieldType": "select",
"description": "Primary team of the event owner. This property is set automatically by HubSpot.",
"groupName": "eventinformation",
"options": [{
"label": "True",
"readOnly": false,
"value": "true"
},
{
"label": "False",
"readOnly": false,
"value": "false"
}],
"displayOrder": 7,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "eventtype",
"label": "event Type",
"type": "enumeration",
"fieldType": "radio",
"description": "The type of event. By default, categorize your event as either a New Business or Existing Business.",
"groupName": "eventinformation",
"options": [
{
"label": "New Business",
"value": "newbusiness",
"displayOrder": 0,
"hidden": false
},
{
"label": "Existing Business",
"value": "existingbusiness",
"displayOrder": 1,
"hidden": false
}
],
"displayOrder": 8,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyOptions": false,
"readOnlyValue": false
},
"formField": false
},
 

{
"name": "num_associated_contacts",
"label": "Number of Associated Contacts",
"type": "number",
"fieldType": "number",
"description": "The number of contacts associated with this event. This property is set automatically by HubSpot.",
"groupName": "eventinformation",
"options": [],
"displayOrder": 10,
"calculated": true,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
}
 
],
"associations": [
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-47",
"name": "event_TO_MEETING_EVENT",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "211",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-47",
"toObjectTypeId": "0-3",
"name": "MEETING_EVENT_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "212",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-18",
"name": "event_TO_COMMUNICATION",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "86",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-18",
"toObjectTypeId": "0-3",
"name": "COMMUNICATION_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "85",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-49",
"name": "event_TO_EMAIL",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "209",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-49",
"toObjectTypeId": "0-3",
"name": "EMAIL_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "210",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-48",
"name": "event_TO_CALL",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "205",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-48",
"toObjectTypeId": "0-3",
"name": "CALL_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "206",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-76",
"name": "event_TO_PORTAL_OBJECT_SYNC_MESSAGE",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "346",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-76",
"toObjectTypeId": "0-3",
"name": "PORTAL_OBJECT_SYNC_MESSAGE_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "345",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-20",
"name": "event_TO_ATTRIBUTION",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "119",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-20",
"toObjectTypeId": "0-3",
"name": "ATTRIBUTION_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "120",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-63",
"name": "event_TO_event_CREATE_ATTRIBUTION",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "281",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-63",
"toObjectTypeId": "0-3",
"name": "event_CREATE_ATTRIBUTION_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "282",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-53",
"name": "event_TO_INVOICE",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "176",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-53",
"toObjectTypeId": "0-3",
"name": "INVOICE_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "175",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-2",
"name": "event_TO_COMPANY",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "5",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-2",
"toObjectTypeId": "0-3",
"name": "COMPANY_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "6",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-4",
"name": "event_TO_ENGAGEMENT",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "11",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-4",
"toObjectTypeId": "0-3",
"name": "ENGAGEMENT_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "12",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-1",
"name": "event_TO_CONTACT",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "3",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-1",
"toObjectTypeId": "0-3",
"name": "CONTACT_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "4",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-73",
"name": "event_TO_event_REGISTRATION",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "329",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-73",
"toObjectTypeId": "0-3",
"name": "event_REGISTRATION_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "330",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-69",
"name": "event_TO_SUBSCRIPTION",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "300",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-69",
"toObjectTypeId": "0-3",
"name": "SUBSCRIPTION_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "299",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-8",
"name": "event_TO_LINE_ITEM",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "19",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-8",
"toObjectTypeId": "0-3",
"name": "LINE_ITEM_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "20",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-11",
"name": "event_TO_CONVERSATION",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "58",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-11",
"toObjectTypeId": "0-3",
"name": "CONVERSATION_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "57",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-21",
"name": "event_TO_SALESFORCE_SYNC_ERROR",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "95",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-21",
"toObjectTypeId": "0-3",
"name": "SALESFORCE_SYNC_ERROR_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "96",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-72",
"name": "event_TO_event_SPLIT",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "313",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-72",
"toObjectTypeId": "0-3",
"name": "event_SPLIT_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "314",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-5",
"name": "event_TO_TICKET",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "27",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-5",
"toObjectTypeId": "0-3",
"name": "TICKET_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "28",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-46",
"name": "event_TO_NOTE",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "213",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-46",
"toObjectTypeId": "0-3",
"name": "NOTE_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "214",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-14",
"name": "event_TO_QUOTE",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "63",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-14",
"toObjectTypeId": "0-3",
"name": "QUOTE_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "64",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-51",
"name": "event_TO_CONVERSATION_SESSION",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "207",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-51",
"toObjectTypeId": "0-3",
"name": "CONVERSATION_SESSION_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "208",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "2-4036512",
"name": "event_to_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "30",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "2-4036512",
"toObjectTypeId": "0-3",
"name": "event_to_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "29",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-27",
"name": "event_TO_TASK",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "215",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-27",
"toObjectTypeId": "0-3",
"name": "TASK_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "216",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-43",
"name": "event_TO_TASK_TEMPLATE",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "146",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-43",
"toObjectTypeId": "0-3",
"name": "TASK_TEMPLATE_TO_event",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_MANY",
"id": "145",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-3",
"toObjectTypeId": "0-84",
"name": "event_TO_DISCOUNT",
"cardinality": "ONE_TO_MANY",
"inverseCardinality": "ONE_TO_ONE",
"id": "370",
"createdAt": null,
"updatedAt": null
},
{
"fromObjectTypeId": "0-84",
"toObjectTypeId": "0-3",
"name": "DISCOUNT_TO_event",
"cardinality": "ONE_TO_ONE",
"inverseCardinality": "ONE_TO_MANY",
"id": "369",
"createdAt": null,
"updatedAt": null
}
],
"name": "event"
}
 
Here is the schema for my Event object. I was using, I want to have the deal stages functionality for events and able to send the email to the associated contacts of events. and contact association to the events should have many to many relationships.
0 いいね!
dennisedson
解決策
HubSpot製品開発チーム
HubSpot製品開発チーム

"message": "This endpoint cannot be used to create HUBSPOT object types",

解決

@GVerma 

Try to remove this:

"archived": false,
"restorable": true,
"metaType": "HUBSPOT",
"id": "3",
"fullyQualifiedName": "event",
 
"objectTypeId": "0-3",

This info will be populated on our end.  You are basically reusing something that is already an object with this which, as you know, won't work.

You also need to rename any property that starts with hs_ as this is reserved.

Lastly, before you actually create this object, I would highly recommend looking at all of it and make sure you need everything here.  You can add properties and associations later if needed.  Start with what you know you need and grow from there.

0 いいね!
GVerma
参加者 | Diamond Partner
参加者 | Diamond Partner

"message": "This endpoint cannot be used to create HUBSPOT object types",

解決

Thanks, Dennis! I have created my custom object and associated it with contacts, but in the contact-based workflows trigger, I don't see my option to select my custom object properties.

How can I have my custom object properties in Contact-based workflows? I want this functionality because I want to send Emails to contacts who are associated with my Custom object record. 

 

0 いいね!
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

"message": "This endpoint cannot be used to create HUBSPOT object types",

解決

What functionality are you wanting?
Could you post your schema request body so we can see it?

0 いいね!