POST api/Opportunities
Create a new Opportunity Record.
Request Information
URI Parameters
None.
Body Parameters
The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json
MutableEntityExtended| Name | 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": "265e5867-28e6-47a7-8dc0-613725b5ef4b",
"ParentId": "be211a54-7fb0-44c7-816e-06e296a8b818",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b06218eb-545e-41b9-b34a-fb18163282ab",
"985437ee-ed95-4b7e-b908-60d4ae4ee7cc"
],
"Companies": [
"4fd34348-278d-4bf0-9fb8-e7b47217a65b",
"3c1ef479-0a5b-4449-a55a-bb14d3c2c475"
],
"Groups": [
"9065e071-2036-4386-8b38-47757353a5d8",
"e48a36b4-3dbe-4176-82a2-6249a52c1979"
],
"Opportunities": [
"0844ea2f-385e-4382-9673-c33293efd3c9",
"459a91ad-d493-4ab1-943c-2ceba4d05750"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
This endpoint returns the GUID of the Group record once it is created.
globally unique identifierResponse Formats
application/json, text/json
Sample:
"8f65c6b6-170b-4b02-87fd-238f7a14b16c"