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": "82695d3c-315d-4f40-8809-4ccc54792fa0",
"ParentId": "3632e547-9f88-4e2f-aa66-07a1aab61e63",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"40553ff7-40c7-4b5d-9502-2ff1cc952116",
"e9fc3f18-b9d4-47f9-b7d3-9090b03fb8b1"
],
"Companies": [
"76f55a60-b64f-47fc-82a0-ece06e6f17ae",
"c045db81-34db-4531-9edb-c566d7ecbc3f"
],
"Groups": [
"1654469e-643a-4ace-a396-a0d6b6b25fbf",
"b13ab253-5acc-491a-ac33-0ae0b76f30a5"
],
"Opportunities": [
"ff4ed66e-e33c-4927-ba61-934983b439ca",
"9dd113ab-60a8-4688-ae21-65377d75302f"
]
}
}
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:
"1b0136b5-596c-4763-8105-8e02b3a01040"