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": "511d56c7-7f2b-42ae-b69b-517257c38009",
"ParentId": "f0492f77-43ab-410e-9c0d-85f05895e50d",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ef3816ac-1268-4220-b3aa-63ed48983b41",
"71707db0-c51b-4e37-ad9b-19ce8ed0bd14"
],
"Companies": [
"31c0471f-0379-4433-bf51-d0bb9596b73f",
"ee749bb9-af2f-42cf-844b-258a35b76a0d"
],
"Groups": [
"03764199-c186-43f4-a014-4f2f395c18f9",
"ffdd346d-71f1-41c9-8ae9-c4f7d16c8261"
],
"Opportunities": [
"5d072207-3d7f-4547-8119-e3f8e23795e6",
"9ce8764a-91c8-4c70-afec-1cf2df3f3020"
]
}
}
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:
"a3d0bafe-a885-4b39-9c26-6dc4348c4725"