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": "364d3b9e-efb5-4067-9e16-589aef0377a3",
"ParentId": "dacb0a96-478b-412f-b783-ea3408c21cbc",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"0f92ada5-c741-4492-8bac-2fd9c12d864d",
"ce6471f9-c56f-4170-bda2-e3580a59dc69"
],
"Companies": [
"b4d64814-4f9f-42c0-915b-f335dcc37386",
"41a37bf3-e44f-460a-8e34-ad63bc913fc6"
],
"Groups": [
"25afc55f-7a66-4177-850c-5c6a9a51024a",
"6ca6824e-a631-43c8-adfa-c75a666d6943"
],
"Opportunities": [
"8e40a46e-76b5-4944-b225-00581c3d66c8",
"2590a93a-c854-40b3-94bb-5222f1b3af85"
]
}
}
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:
"48afbc69-b292-49b3-bec4-4d462428e086"