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": "4062c1a0-15a0-4c13-95da-0a44c38bb5a8",
"ParentId": "107e53f2-53ed-4ea7-a6c4-2296399134d4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"b4856198-d0c0-42cf-a0b5-9bd103d439ee",
"92e123df-8752-4c74-abba-63bd5dbd2848"
],
"Companies": [
"58f1d225-961b-4154-8ab1-ead927445fe6",
"a28ff2fb-9e5d-4533-bb21-f2259db8f9f1"
],
"Groups": [
"84638934-d439-44ba-8a56-fcd75a34ebce",
"04f14b08-1c46-4d76-8a80-1930b294f253"
],
"Opportunities": [
"893c11cc-38ee-445b-8c31-e942162c236a",
"b9c070f4-4573-4cca-bb73-6239b3a5eac2"
]
}
}
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:
"9f234648-a9b6-4f62-ab25-72db98f798f7"