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": "35e5dfe6-14bf-4904-bf2a-5f1265fe68ba",
"ParentId": "db8f8c48-5a06-421b-a5a5-b61446294246",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"3902da95-90a8-4947-ace9-48daf28c96ab",
"9933915e-d4e4-42f6-9592-3b88de8886ad"
],
"Companies": [
"2853878b-8df8-4b17-b57f-8ec9ef7f1220",
"90ccbd5c-60e1-44d2-9788-d76f9c1c930a"
],
"Groups": [
"29b25141-4ffc-4da8-8f2c-2d322305f9a0",
"3a4b5acc-3932-4243-aa3e-1e077212116e"
],
"Opportunities": [
"daecf526-ae0e-4e07-a7de-d2dfc8038f4e",
"f385d046-3b4a-49fc-b0b4-6b820bde7683"
]
}
}
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:
"3d84b5d6-46b1-44b3-83bc-05597cc52c87"