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": "8a516e7a-98df-494c-a768-502d77741009",
"ParentId": "eeb44680-23be-42e5-8d33-dee26afcafa6",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"2b255146-0de7-48df-9d19-376bfac00708",
"cf99ab98-c39e-4aff-ab0d-70c123e486a6"
],
"Companies": [
"3fe306e6-dabe-4cea-97ef-345987fd62dd",
"9ad0ba27-a786-451d-a061-9825531b5d81"
],
"Groups": [
"ff7dcbf7-3d9f-458c-8b17-df5af3c1a4a7",
"b09beafd-747c-476a-8a74-c6976dd113d8"
],
"Opportunities": [
"b41f8468-b65b-469c-b0b6-735d5a2b9f5a",
"cff93d69-42da-4a7f-8d9e-228d1449a853"
]
}
}
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:
"a23923de-f84b-4827-a251-7182062283c4"