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": "661fc13f-b58d-41b5-8eb2-2c9974e7a8a0",
"ParentId": "2dad7528-73d4-4cb3-9753-4ba43bc4d127",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a53c2be2-467d-448b-9017-aa8aebd62cf8",
"1c4d2513-75ef-43d5-b3e7-b4c236a2c2bc"
],
"Companies": [
"af7aba06-4882-41fb-96a0-be20cda73a6d",
"1c2e6151-20e1-4d8c-8608-496f7dd00e39"
],
"Groups": [
"b83e1150-edcf-48bf-a34d-f269c95377b0",
"21eaa9fa-870d-46b7-b8b9-d2544ee0aad9"
],
"Opportunities": [
"5746782f-134d-41aa-a1ce-08238d1c51ae",
"2951b548-ebcf-4855-bc69-949b2351dee8"
]
}
}
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:
"ea2dfa26-c3b6-416f-b027-8cb6899f3487"