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": "f9ee45d7-56f9-4a2b-9519-ff7e07f0e9d6",
"ParentId": "bc41d31c-6438-491e-8086-ed6cddc6b962",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"c2c8ed8a-f3c6-43a0-98b5-ad4621c79b29",
"fff416aa-86f7-4f2e-994a-4d012df4ecde"
],
"Companies": [
"199cf126-8d9d-4dc2-9513-570213b22afb",
"616183b7-5a82-4145-898d-5038062fb6bb"
],
"Groups": [
"2d090244-487d-4978-b5d5-45400054c070",
"8227b335-f264-4257-b186-a96775ba9e01"
],
"Opportunities": [
"e121e190-7dc0-4db3-95f1-dd341ace2bfa",
"cef0a337-b64b-49eb-bb69-32bc8fc14d6a"
]
}
}
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:
"7c1256b1-4ea2-489b-840e-dec47d716bb9"