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": "6198b4a2-0eb3-437a-9a14-5f4e4eaf4373",
"ParentId": "bb7dc272-bde8-4835-afdf-b76c08c28962",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"70401123-d2c1-4a34-aeca-7d6957aee69b",
"2277a588-b97d-4ecc-a8a2-f32cbab6ed5f"
],
"Companies": [
"9a9973da-8b79-48fb-b603-8c060fcb37f6",
"0133ab46-c004-44bf-9365-6016909f10a2"
],
"Groups": [
"4264a803-97cf-454f-a90a-b03168a05fdd",
"8c8ec7fa-62cb-4072-a94b-2eab6c446eae"
],
"Opportunities": [
"a1cb0fc2-1f78-46b5-876c-0f8f2203d4af",
"1f76f30a-5efe-404b-8571-3e864d217ede"
]
}
}
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:
"6497d4e9-485e-4afb-a9c1-f32c6a57940c"