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": "70937380-0c1b-4d79-923a-5cb14bb02f11",
"ParentId": "1804313d-4afd-4861-a343-ab90c56123d0",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"4d481446-02ad-46a0-bf27-7bf183c083ea",
"271e7c41-26e3-4fb4-9102-d30a7c4d483f"
],
"Companies": [
"38703a70-89c9-4fbc-8c72-609f3c98371c",
"3b21aac9-a9de-454d-a67e-8e26f85a3f14"
],
"Groups": [
"b8fedd11-512e-471e-a04c-ba543f43b5d4",
"40bd0a72-6cbb-4a97-8564-9e272559fae9"
],
"Opportunities": [
"30b6eb7a-deb3-41db-9030-56d07c70dbd9",
"b364f3e9-d57b-4e7c-84e9-fab0397331ab"
]
}
}
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:
"01a68304-0be3-4fa6-a317-97307e3f777d"