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": "b1ce4699-eb41-454c-9e26-bc3543de8274",
"ParentId": "2432edb6-0066-45ab-a27a-8a48d7caf857",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0d74d428-b256-44f9-a35f-e0eca41539ed",
"35fd2e20-1e58-4772-97b0-4593ecab28a3"
],
"Companies": [
"db916ec4-8ec2-4e8d-8d35-effc385c03b8",
"7908c509-ddbb-4096-add7-abff9269b0ea"
],
"Groups": [
"55a25c1d-aaca-4374-b648-9d139a17a0b1",
"080311f0-1e55-4640-9224-b2b754d425d1"
],
"Opportunities": [
"8759545f-5449-4b86-82d7-eacac7081c49",
"ae1ccd21-6330-44f7-a961-197a714146a4"
]
}
}
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:
"fc310fe9-d6f6-4cf6-b91e-53b451138998"