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": "b07696e9-1b29-42b3-8941-9922854b2671",
"ParentId": "41a452b9-c45b-4a34-91a8-eae40429c2be",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"195c688c-6af5-486a-9f68-8b4ad9b3401b",
"dfa0641f-abdd-423c-aa3b-c7e52df1b5ea"
],
"Companies": [
"617971fd-b2b1-478b-9d2d-86f7b1ec0183",
"ce97c9f0-e219-4ac3-911a-3bca93acf08c"
],
"Groups": [
"d33a7f1c-c24b-4cee-b308-1aaee63e3589",
"114a7901-0ce8-4482-aae5-b28aa2dc9de5"
],
"Opportunities": [
"3e55cd2a-9145-4812-b122-b61bf2ee4802",
"77aa817b-d1bf-47a9-941b-f2e035b46790"
]
}
}
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:
"bbcdc095-e4f7-423b-b1c6-aabb90c76255"