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": "6d6772f9-dad2-41de-98cc-dfcf4cad0136",
"ParentId": "d53d4967-ce0b-42ff-b236-f9b5ef394503",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b4916e1a-2a5a-4ea9-b5ab-6bc3508ec9e4",
"c75ef801-8fe9-40fe-adc9-03e67e5f31d0"
],
"Companies": [
"ab8b013a-dda4-4e66-9924-80bbb34e1e2d",
"5711b54f-8b87-4ea7-9c53-5c0a4589d44b"
],
"Groups": [
"4ffcf645-c95a-46f6-8fb4-6df54d22b4a0",
"f231cb34-5740-450c-800e-704e04d822fe"
],
"Opportunities": [
"d0d1a1b8-ed36-476d-bbf8-3b80395883a9",
"74e6189e-aa23-447e-a3f6-95d5fc793d3f"
]
}
}
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:
"085c90e1-116f-4ad6-89c8-458fcf0f476f"