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": "d221e065-5862-4d33-9724-62ecdc04b0ba", "ParentId": "0f89e015-492e-4a2e-85a1-0869b7fa5f18", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "ec52d4f6-a120-41a8-b0e1-4a8f229d193a", "cc64752a-988b-47b1-8eb8-069f024110a8" ], "Companies": [ "52461395-843b-41a6-82b8-d1e5693d625d", "610ae333-bfcf-49f0-9a63-d93104fb3988" ], "Groups": [ "87b6ab6b-d15b-4db2-b51b-f3e1c69761c2", "48f52635-f6b8-42be-bd7f-469ac391ef1f" ], "Opportunities": [ "73feafb8-3f31-4618-95d4-a3f5d9b0ff2d", "1b823916-1dc5-4300-869e-dc9d7bfe5c59" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"26f6f772-8a17-4656-b801-badce2e88ca4"