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": "b41b5466-65c5-47ad-8104-758a1609614e",
"ParentId": "893a73f1-2964-46e4-8d84-e54864c26789",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"763efa79-3df7-4630-8619-ad5daefe3234",
"60471707-eeda-4a47-9c13-d8d4f3312518"
],
"Companies": [
"80adacc5-189c-4801-9f14-84c42362f154",
"fa369e61-8423-453b-acc1-c8073a47ffba"
],
"Groups": [
"3fe6f51d-239d-433b-9aca-8370efaefa7e",
"c4bc9be7-f839-4f3d-9794-43d62b7b4731"
],
"Opportunities": [
"3a1d1c3f-8ae5-467d-bb08-2ad32a5d5a48",
"4d928a53-5696-45cc-a876-8f44b7111a65"
]
}
}
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:
"ba8297a8-a07a-4eef-bcc2-0d4fc9bd4d79"