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": "8fa7797b-8068-458c-a12b-b600d794aa40",
"ParentId": "82c7a27d-54e8-41d9-b452-3656b3d18f5d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a917d444-3033-4084-b786-158898f8627c",
"ce8faaca-9ace-494d-a0d9-97a4938f7b09"
],
"Companies": [
"754dbcac-2324-460f-87f0-9f7649e92d16",
"558c3e36-93da-4236-895f-a74c481876b5"
],
"Groups": [
"4af303fb-5eeb-435a-aaa8-8f175048f29e",
"60d83f64-1aa4-46fa-99b5-a1bcea5ce66c"
],
"Opportunities": [
"1f0e607e-7778-4c7d-9de2-7894011d5240",
"06a0bd45-145a-4c5e-b88b-25d6db6dc77a"
]
}
}
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:
"58de47c8-15ed-420d-992f-9a8ed183dd2e"