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": "5ec13c2b-7e7b-4960-9329-5d90466d13ef",
"ParentId": "09c5e439-8bc7-497b-acd5-28beb6ab1dfd",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"31acd5c5-ecca-48fe-8316-af61b8d514c4",
"3234f454-ad37-479d-8c20-91d8abd4efe8"
],
"Companies": [
"d718f8c7-bc18-4d1c-bb4c-debf9ebc4a4a",
"2ff95e68-3144-4c3e-8cc3-513097c61ab7"
],
"Groups": [
"5146259e-4709-4b9c-9ced-922e6a32e6d8",
"b8486b68-2681-48cc-9add-486e056bba02"
],
"Opportunities": [
"5a278ef7-843a-422e-92f4-860c01fad1bb",
"36b023bd-cebc-4a62-bdfc-40f9c8e539c9"
]
}
}
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:
"4b29f50c-4063-4389-8e0e-e7702ddb5a0a"