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": "582a548a-cf03-4b8b-9b2a-c5e1c631496d",
"ParentId": "88848f19-48fd-41aa-8679-9d60d5f4e095",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"e660bb1b-5213-43f6-b0fd-e0e1a3a323ee",
"b9c927d4-c231-4f9b-b15e-dd4540b74f19"
],
"Companies": [
"a3356716-56b4-46c4-a151-e23efede60e8",
"7a8042b4-82af-4adc-a0a8-35464612522b"
],
"Groups": [
"d5fbfeb1-4acc-4ea3-a8f8-79ee679050f7",
"d9d41dff-b4b0-4eca-95f0-ab8065c00200"
],
"Opportunities": [
"b07ff217-6fb5-4a64-a500-bf7a566a1801",
"0fa062bf-2f52-4f05-af0c-1f1414902c98"
]
}
}
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:
"fea6adf4-7137-425b-9466-99725e24a702"