Add new entity to CrmAccounts
POST/CrmAccounts
Add new entity to CrmAccounts
Request
- application/json
Body
required
New entity
companyName string
email string
phone1 string
phone2 string
streetName string
houseNumber string
postalCode string
city string
countryIso string
Possible values: <= 2 characters
cocNumber string
vatNumber string
state string
iban string
type
defaultVatId uuid
customerReference string
defaultContactId uuid
firstName string
This property are no longer synced from the contact.
lastNamePrefix string
This property are no longer synced from the contact.
lastName string
This property are no longer synced from the contact.
id uuid
createdDate date-time
updatedDate date-time
organizationId uuid
reference string
creatorId uuid
customField1 string
customField2 string
customField3 string
customField4 string
customField5 string
organization
Responses
- 201
- default
Created entity
- application/json
- Schema
- Example (from schema)
Schema
companyName string
email string
phone1 string
phone2 string
streetName string
houseNumber string
postalCode string
city string
countryIso string
Possible values: <= 2 characters
cocNumber string
vatNumber string
state string
iban string
type
defaultVatId uuid
customerReference string
defaultContactId uuid
firstName string
This property are no longer synced from the contact.
lastNamePrefix string
This property are no longer synced from the contact.
lastName string
This property are no longer synced from the contact.
id uuid
createdDate date-time
updatedDate date-time
organizationId uuid
reference string
creatorId uuid
customField1 string
customField2 string
customField3 string
customField4 string
customField5 string
organization
{
"companyName": "string",
"email": "string",
"phone1": "string",
"phone2": "string",
"streetName": "string",
"houseNumber": "string",
"postalCode": "string",
"city": "string",
"countryIso": "string",
"cocNumber": "string",
"vatNumber": "string",
"state": "string",
"iban": "string",
"type": {},
"defaultVatId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customerReference": "string",
"defaultContactId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"firstName": "string",
"lastNamePrefix": "string",
"lastName": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-06-06T15:30:37.107Z",
"updatedDate": "2024-06-06T15:30:37.107Z",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customField1": "string",
"customField2": "string",
"customField3": "string",
"customField4": "string",
"customField5": "string",
"organization": {}
}
error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
required
code stringrequired
message stringrequired
target string
details
object[]
code stringrequired
message stringrequired
target string
innererror object
The structure of this object is service-specific
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"innererror": {}
}
}
Loading...