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": "412d5c41-0837-406c-ac34-b88146299511",
"ParentId": "e85fc328-7d5e-491e-9c44-4a09a3e8de76",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d34b1136-a48f-4a20-a3a2-5761214191f1",
"fb8e1485-cf7e-4601-929a-ab425d4b411d"
],
"Companies": [
"d49ed276-2289-4b5b-92c7-b7b442c989db",
"03b72f9f-348a-4d12-b78f-f712f60f8ae8"
],
"Groups": [
"415ffb28-6a76-46d0-a679-f7db49e54e36",
"033777ce-95f9-4e91-b511-73e276dbfc2e"
],
"Opportunities": [
"f9dfe4b1-1ea4-4c46-8843-6f113b5ba75e",
"797cda89-7add-4f06-83de-59c9051c02a6"
]
}
}
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:
"e30267f2-207a-4f99-bacc-f46be5eddec7"