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": "a96c6c90-1307-49df-a3f7-9b132a82c823",
"ParentId": "3d09cda1-177c-4518-abc2-1044f6a01c67",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"cae80a46-c53a-49b4-8ebd-69b321b39533",
"94b78186-b52e-48ef-aeae-7cf6c53e8cda"
],
"Companies": [
"9fbe245e-c048-40ca-b0cb-47c445ad5e11",
"b66071a3-b900-4ef1-a5ee-c57651c85d8e"
],
"Groups": [
"9816b1e4-50f4-455b-8b71-27254e6e0855",
"2d135166-b26f-4d19-bb12-8dd56de6b877"
],
"Opportunities": [
"e5a277ac-da3c-45ad-a734-56572c7e3af2",
"c0b8cecb-4d9f-47b7-9a05-4d8145bd67b7"
]
}
}
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:
"52afbb07-0b66-4cab-95c3-5d42da1ce3aa"