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": "4fe63acb-3969-432d-89b9-6ececcf04b86",
"ParentId": "84405067-e768-4c53-aa3e-aac55b8feb50",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"15697403-08dc-4e15-8a4e-171f54b49672",
"9999213b-a11f-45c1-92cd-97f182dec9b8"
],
"Companies": [
"cdc87e6f-ae9f-461c-9409-e9ff1d91ad74",
"510bad66-b4e7-49b9-aac1-7308881be9b7"
],
"Groups": [
"1e2c203b-94a0-4ac7-b0cb-a243e70fc684",
"019ddfe7-a30c-436b-981d-3794a0594ed3"
],
"Opportunities": [
"224922f3-9b86-4e89-a299-abe050991f04",
"bc637572-152c-4ba3-a01e-2d396a60e7c5"
]
}
}
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:
"716cb492-846a-4147-94b3-e7f7428ea189"