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": "f3849e4d-f242-4479-a428-abdffc8066ed",
"ParentId": "14466205-612e-4ea1-87c7-46fdaa0a8140",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ed36bd5b-5a67-4490-86a6-4f3c64aafba6",
"cb6acd26-ae62-439d-9a47-7c10841e1c8d"
],
"Companies": [
"04189512-e702-416c-af69-29b973650719",
"67b88021-8922-4b64-9681-fe36c8870a92"
],
"Groups": [
"20ff7f1d-9e2c-4c7c-92fe-de8d45233f8e",
"61f96d1d-1375-4368-8200-2f9ac2e2599f"
],
"Opportunities": [
"b46f056e-c7e2-46bb-9fa0-2318e6cc704f",
"09c92b10-33c9-47c6-9b7b-546d9c1fc313"
]
}
}
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:
"50f3936b-93f5-433b-8c54-a605df0b8375"