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": "14d9e530-0deb-414f-8795-69c8d3e0e805",
"ParentId": "816a50af-34ef-409d-9b09-4279c7b0fdb5",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"a4a801a7-85e8-4df4-a707-96396e08b33c",
"b61a6a46-f8f4-4cdc-a0aa-f84299d9a92e"
],
"Companies": [
"38806e77-5f35-4228-b178-ccda8e273fbb",
"24fde0d1-9051-4e28-8dd1-6ab8f09973d1"
],
"Groups": [
"1609fa59-07a6-420a-b6bf-e5aead9ee99c",
"650c9ad6-865f-46be-841c-6da75d25747d"
],
"Opportunities": [
"66d4b837-089c-4ca6-b68b-817ebff490e1",
"0c6458c6-5cec-4504-a74c-79988ecc7e7e"
]
}
}
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:
"9db05b10-7f26-481a-9696-6654529bb07e"