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": "4d91651e-af1e-4d85-9632-10a23b9fa4ac",
"ParentId": "2acd8ab3-ee7f-4a06-aa96-1d9df9927b25",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"6a071262-d812-4bca-9fab-79bceca5d9ea",
"7c30913e-eb63-43de-aa0d-7594593654fb"
],
"Companies": [
"c09fd170-c4fb-4cba-a49a-cfb8abcd4e80",
"c04cca39-a949-4f37-9bd7-a4e4b18a8db2"
],
"Groups": [
"8c357866-453f-4544-b99b-02fe714d7943",
"e1a5e021-8fe1-4a72-91b7-c9f775ba74c2"
],
"Opportunities": [
"17beb21f-1f10-429c-9e08-e620fb2a6293",
"97f28488-adac-40a4-bf2d-5f1ede868737"
]
}
}
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:
"ef37005f-72fb-4754-aadf-ddaf6121615e"