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": "edf479cd-bad4-4603-82d3-496ad15f277e",
"ParentId": "11b5e2da-9543-41c8-9622-daf2b1216bcf",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ffee6f7c-ce82-4d89-ab6f-8e8a7bb8e151",
"f0a63362-2f94-48b2-a1bb-c4014612102d"
],
"Companies": [
"98210d53-0168-49d9-bf4c-af91e1242b54",
"1afef8bd-bce6-4133-b14a-77e9ce34edb5"
],
"Groups": [
"9548c788-d9f0-4fa9-aba7-cdf493176f99",
"5dd5cf16-b703-4336-babf-f4303f4fe7a1"
],
"Opportunities": [
"83f9187b-2cad-4cc0-814c-3273ce93b680",
"bcdc470e-7adb-4e36-8855-d0abae5f94e6"
]
}
}
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:
"d7519b5b-8ee3-40af-9add-393a00409bf2"