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": "99137614-8125-41b8-9e57-77d39b2d4f19",
"ParentId": "9ca90ff8-c3c5-4c9f-a094-1d1fdbedeca9",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"580f71fa-de97-4171-8ba9-2d641b4c88d2",
"da583c1f-1da3-47c5-8a83-a3af4a14b2dc"
],
"Companies": [
"2e576048-c88d-4313-89e1-484d00bb0ede",
"759ed4cb-8b9f-4cfd-aea2-13fd2e5169bf"
],
"Groups": [
"557373ae-320e-46c0-bf1f-6ed9e854988b",
"5190388e-790e-4e14-b6bc-df8085eb7b65"
],
"Opportunities": [
"9b9fccb7-c537-4d27-abae-38931f00f6c8",
"2b18b4e4-0199-460f-b825-ba4c6d817de0"
]
}
}
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:
"78252e51-a22f-4741-aa38-a10f3259c494"