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": "c98ab25e-a13d-4ced-83f2-4d53d6693ec5",
"ParentId": "768106e1-ed9e-411a-9d4c-8e0ea5adeb68",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"ab61fa97-97e3-4170-84cd-ea5aa713aeef",
"05a7f23c-fe66-43ad-a476-58b3442b65a8"
],
"Companies": [
"f65ed892-12be-4b97-82a0-71992d0b7c97",
"5397da81-e592-454c-93bb-c83c6039dac4"
],
"Groups": [
"fb2b4977-d2e8-45cf-9c44-7afe02730173",
"6b184945-1f26-434d-9f89-b76a8e9fa53f"
],
"Opportunities": [
"a49eaf57-5b15-4ca6-af95-52ed86bf2149",
"e2057948-1c6a-4f0c-8be6-7dd866145f4a"
]
}
}
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:
"f164e96f-7f45-4d7d-b8ed-c1cbfda1ce93"