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": "d6ca892c-e51a-47be-930a-f85a4acebe09",
"ParentId": "3f995ea7-c055-4380-81bb-b8d87e174f40",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c0363f1a-4c10-40de-adbe-eec354bf2c61",
"bf9d9854-bab6-4ade-b6ca-9aaa41943635"
],
"Companies": [
"9575d4bf-3baa-49b0-99a2-6c74efbdf058",
"40325b38-349a-49ae-97d3-017b42bf42b5"
],
"Groups": [
"b67046ff-37ee-41bb-a460-448ed1db9c78",
"bd15586f-ee67-4b61-9544-aff0c3dba564"
],
"Opportunities": [
"1fdad6f3-1395-463d-8365-b6f23b639f8b",
"efbfc7e8-077b-4df5-9bcc-a14417b173ea"
]
}
}
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:
"9fafcaf5-d2d5-4e0c-8d9c-83db94b34753"