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": "59163dd0-1297-4203-b2dd-a0a9088200a8", "ParentId": "6c704c92-085f-44d4-8d28-1e52d195446c", "Fields": { "sample string 1": {}, "sample string 3": {} }, "LinkedEntities": { "Contacts": [ "f388db0a-f8e4-4967-996f-522eacfb601a", "0612c684-3638-4f43-a47e-da11aa488ae0" ], "Companies": [ "76b7f5ac-96bd-4c7c-baee-7ae7be24baf2", "d1603fb6-cff9-4354-a47d-ab530676dfb0" ], "Groups": [ "b4da9241-eaa0-4a8f-a482-74940b3ce12c", "f5837e7f-7cca-4037-badc-8b9124d28c0f" ], "Opportunities": [ "80a6d028-337d-486c-8679-525bce783965", "63c8c805-da74-4b96-b233-9ba92c352ca4" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"9b7e5459-7dfb-4dfc-9f22-fbdf1e2e3f37"