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": "8a866ccb-bf1e-48b7-908b-d9466afc25b5",
"ParentId": "4db2f16a-2283-4916-9cc4-6c8809c1116d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0961eae0-da2f-4c34-909a-bf187e27516b",
"3c8e07c4-0c06-4d76-a94f-28ac29e76863"
],
"Companies": [
"feda66cd-37ff-48dd-a762-741f95669934",
"0fa91e39-74a7-4828-894a-9cebf8f63acf"
],
"Groups": [
"0a811864-dc6e-4f0d-ac71-dd78e9350ce7",
"42d06030-4254-47d8-9511-87369951f5d5"
],
"Opportunities": [
"ce8fa4ba-65be-425b-9247-cbda9b62ea3f",
"aa41e45d-cbcf-4550-b25c-7336b70b5578"
]
}
}
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:
"e7186c4e-7bd1-4fa7-946f-5c6d9928eb25"