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": "4777adf6-95da-4497-804d-3c2d8b08e2c7",
"ParentId": "ab23499a-8a82-4282-8de4-50d40e8e28e3",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"70398d5d-5f8e-42d7-bf1b-d97cfa0c886e",
"c481d370-282a-49e3-8667-c96d64f0eecd"
],
"Companies": [
"615bafda-a3d5-4bf9-81aa-c6ff88ef5635",
"3dca3b25-981c-4aac-9fe5-c28b82ada666"
],
"Groups": [
"40909036-5e30-465f-b77a-7a13c239c432",
"a7f2e9c5-a673-422e-9ff3-a47262aea46e"
],
"Opportunities": [
"bbf7d8b9-e1fc-41ff-8c74-51e3d68e83e8",
"af728897-4a33-477b-9dff-246b5ef92024"
]
}
}
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:
"1126a7bb-66f6-4a6a-bea6-08947b37f259"