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": "f99a9f1e-aed4-4c0a-a79a-3cecd579b395",
"ParentId": "13dc15cb-5b5e-4887-95e1-ed18afb911be",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"23490f69-7e36-4945-a7ca-98ffc6312e20",
"3c093a66-2ed6-42e3-93d4-9d58ef809d74"
],
"Companies": [
"5bd1c1d2-d2d8-44a3-a235-1d2e4015eff5",
"1c4e239d-3fbb-4111-b14b-11132e7e5e8c"
],
"Groups": [
"824362cc-73e1-4228-8dba-0fa9735694f6",
"56d5b342-bb5b-4722-b214-5ae6bb02aded"
],
"Opportunities": [
"6509f825-5fb3-4a95-9008-97f156cc2cb9",
"9e19e81c-bd4f-4e63-9d69-c7217c89abd2"
]
}
}
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:
"9f2b8001-279f-43a1-9c1b-fa63d32d49f0"