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": "097b5851-e5b6-4215-b60c-d3105a73ae1f",
"ParentId": "39c209f5-8971-46eb-a076-5ef6537134f1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"395f3dbe-35a7-48df-a2be-579e6c889a2e",
"66274e56-534a-47c9-8c0c-b6cfeb66378b"
],
"Companies": [
"c9f2e2f2-a239-4bd0-846d-f14f2aaea2cd",
"2cb05ab0-c776-42d0-bca7-8c07d3f133e6"
],
"Groups": [
"db6f2e72-c445-4dbb-bc66-6a7076a861dc",
"b50107a9-ff6f-4f8b-8c8d-a34ef006cd06"
],
"Opportunities": [
"0501513e-5b86-4046-a900-87ac9df8a711",
"61f0339a-62d6-4a15-bf72-4db5082c5993"
]
}
}
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:
"0b291dcb-0aed-4195-8ea1-5390be136e1f"