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": "f56d50d4-33fa-4997-ac46-76ed6544e09c",
"ParentId": "be786e1d-4585-49dd-83f0-9413722e4c2f",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"51c676a1-536e-4858-a835-4be1b70e0fe5",
"424998a5-3f38-49b4-948f-6c4dd4c068f4"
],
"Companies": [
"3b9cbf09-13ff-41fa-a02e-aa7441f6deac",
"aa95a476-c4a9-4877-bbf2-ae590e35abc8"
],
"Groups": [
"808429d4-375a-45ab-8e4d-a612ded8554e",
"d51b8b17-99c0-4e1d-b43b-711cbf333da6"
],
"Opportunities": [
"4fd20609-6138-438a-a459-3ddecf186814",
"2b275ea8-9bbe-4804-b230-fd323f1d9ea9"
]
}
}
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:
"c9948087-05ac-4ebd-ac0d-bbd5224124f3"