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": "fb2e65ee-9b23-4ddf-807a-c95211b4934c",
"ParentId": "7311dafa-71e3-47ad-b08b-a38a93e635bb",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"aba1663b-568a-49fd-9d45-7815dff44c0d",
"f3fa7dea-28c5-4f66-90f6-b102521af0f2"
],
"Companies": [
"e916ecea-b539-4c21-897d-0463c1c35cba",
"920a7335-22f6-4cef-8841-88583c06f528"
],
"Groups": [
"bf14ef1a-d559-4a6a-b90b-f3660eb08b4d",
"82fe0aa7-d6c8-4a13-b29c-eadd61504073"
],
"Opportunities": [
"05803c1d-f62a-4f81-b089-d6c343b7637f",
"1d21ea85-83e7-428a-a809-abff6827118b"
]
}
}
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:
"d10b0804-74e3-4645-96ce-b7085d69d884"