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": "2f4229bc-9e6e-4cd0-927e-60e238c8e507",
"ParentId": "a3198983-b11f-4c98-b886-6cd213eb6580",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"7feb8624-9731-412d-9fae-891950d10bbd",
"fd4f3dc1-7b33-46ec-8ee7-890c1731f210"
],
"Companies": [
"a731669c-19d2-4586-97cc-cc793038ea6a",
"00c52f8f-338f-4657-82c7-a92753f40e16"
],
"Groups": [
"41b659ea-0c28-4a7a-97fb-773440f4158a",
"7b89d490-86fd-4c70-baf4-8751e9e19b07"
],
"Opportunities": [
"98b9c311-f4ea-48d4-95e3-83a53ff99cad",
"553733e7-98e3-45a5-8f8c-08ee7f82181f"
]
}
}
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:
"35e79ac6-8cac-44c9-bdc1-614fcc28e8d7"