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": "c9adb9fb-1a5a-499d-826b-34462598c550", "ParentId": "c02140d1-9174-46fc-9dd5-10a4458ef2cb", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "9ce32242-8bc9-4d2a-bf04-5e20e3c42779", "9d39afd0-8a48-49a2-87d5-e67e23c69696" ], "Companies": [ "b277b219-cdc9-4997-a5e6-782d9b779854", "e33e2a28-8f28-46e5-81a5-22404321a552" ], "Groups": [ "b53c0c6f-fee8-4dca-9c77-b1692e7934da", "b0f09e8b-e70b-44a9-9b76-cc96a084d184" ], "Opportunities": [ "3196d23f-b933-46e5-989c-5861a6811810", "f815ff37-8a8e-4e09-bccb-caccf5040062" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"01230318-0c73-4689-b981-509a787c6ef6"