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": "fd662b2e-acdf-47a8-9a00-5fbfa6513122",
"ParentId": "d320b539-2f0c-49db-8466-c4002f72e3ce",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8da3b0c9-9f06-46ff-bc35-0ceff9503d99",
"091a483e-8112-4bf7-abbf-f55f3737f461"
],
"Companies": [
"438daae7-6f87-480a-9363-8f9acb8a7c0e",
"a9731ef4-6bd8-45e8-8bb6-4c949d562509"
],
"Groups": [
"171ae7de-da66-49e0-9758-44e6758d6b6e",
"43978b25-e506-4ef8-9d9a-ef53fec10d90"
],
"Opportunities": [
"8031b90a-69a0-4af7-aa8b-524e25fe4444",
"e02a5bee-fdd7-4657-9c82-6fe040ee5a06"
]
}
}
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:
"d369d2a3-d118-4491-919f-e195543b0b59"