POST api/Companies
Create a new Company
Request Information
URI Parameters
None.
Body Parameters
MutableEntityExtendedName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ParentId |
This field will only include data when working with Group records. |
globally unique identifier |
None. |
Fields | Dictionary of string [key] and Object [value] |
None. |
|
LinkedEntities | LinkedEntities |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "6421a419-023a-4f19-818c-faad95d96383", "ParentId": "43a655ad-adf7-4c4d-931c-d36320692627", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "f58a78d9-2417-40aa-8cff-ccc42c08d38d", "09183355-17df-42bb-89f8-f19fc49a3a14" ], "Companies": [ "a824c077-f71e-4bbf-ae9a-2a199df88d48", "3bee24d6-0e8e-43c4-ab4c-21552ff450a6" ], "Groups": [ "61f72cb8-888b-4ab2-bbff-053a46ccafab", "e847f43b-90f1-47ec-9302-6e786e8ba50c" ], "Opportunities": [ "4d764ccb-ad4c-43b0-bbb6-a038da2e87b1", "ff9476ab-2c23-4876-b454-ec9a00040e2d" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"01b058a4-3e7a-4b60-9b27-ce1ea6b76f07"