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": "d803ea4a-f155-4a06-b1f3-f80cc479387d",
"ParentId": "75b88058-6480-4415-bb15-f8a9c5a7f9c7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0ad95984-a477-420e-977d-0154992be1da",
"2714a89f-ab97-4f8d-bd9a-95607c6d2e46"
],
"Companies": [
"57e98b9c-d7ad-47b2-ad84-4734d6f37656",
"a8b86457-b1cc-4025-a77e-c533dc49c822"
],
"Groups": [
"e805aae3-aa59-440c-b02e-1c5e6abfbaf3",
"e5c4e840-e067-47d4-9a75-9eaca19d0bb2"
],
"Opportunities": [
"fc9ebaa7-ffd8-4b20-9def-d898dfb06629",
"6c0114dc-a505-4d5e-af02-259e9b80a819"
]
}
}
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:
"afabd170-0083-46c2-969b-9aa0cb20b66a"