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": "93166d4b-7e1e-417a-8908-d195c266bb1e",
"ParentId": "fadd893a-1f67-4c9a-80c2-1e1056e6418d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d52f7292-fffb-4708-a2a9-43324054ada4",
"9a05624f-326b-4eef-90d7-627d033eff23"
],
"Companies": [
"1fad1b8c-72b8-4e70-8cf6-dc4912d48f0c",
"aebd4b19-dacb-4f64-855f-2657420205cd"
],
"Groups": [
"89a27a88-29e8-47ff-851c-e9945576d1c2",
"5d396cf9-b843-430b-8615-14ac1630f357"
],
"Opportunities": [
"e5272503-7443-4492-a01c-3c70444c8b6a",
"9688834e-feed-4bed-b77c-2dada27dceba"
]
}
}
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:
"c87bdf00-fa0d-4d2f-917f-42d76013cfb3"