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": "24d06611-3266-4bef-bc19-62093e1c6953",
"ParentId": "ee794e48-c145-4e71-9fe5-8bfc4a6e1f11",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"d6cd1e06-22d9-457e-b690-fbaa906c6912",
"3e633018-6202-4ffe-9749-79507e16d350"
],
"Companies": [
"5511058d-6b90-4710-8532-7a2c79463ab5",
"25813a04-2d29-4035-88c4-3a72011c5fcd"
],
"Groups": [
"c60e3362-ccf2-4b5d-a5e8-dc03ef2a18bd",
"0d77b729-fc99-464d-85e8-e2b09afd9613"
],
"Opportunities": [
"8a81f43f-8fa1-410f-88c1-356c21b8233f",
"86705c5f-ef34-4656-a991-31ce74a77560"
]
}
}
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:
"a29738e3-5c77-4fe9-be21-791c277dc667"