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": "7d610a9e-a00a-489a-8e2d-e34714e825ff",
"ParentId": "11139c58-b2d3-40de-bd1b-e9c569325c72",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"1e24f52f-1252-4eee-a624-1bd3fda0a1f6",
"2f7444e3-02ee-482a-8428-dbe1a43556d4"
],
"Companies": [
"1d49141b-17c0-45a8-9f36-f27a56c2b0c8",
"41b68685-ae2c-4d79-b365-b1e455727e83"
],
"Groups": [
"18e7e678-90c2-448a-8fc7-1d37d52c8336",
"21bd64c0-b008-4b2f-a4d9-4d72ac67ea8c"
],
"Opportunities": [
"0179f214-9650-4a47-8d09-c02a321af839",
"c1138a7c-4ae9-4700-958e-199b163ed254"
]
}
}
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:
"98a0f723-9e5a-4e45-8ba3-6d3ff1956f75"