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": "3f5c47d4-6c92-4ff4-a7c7-a0b607ea23bb",
"ParentId": "03cebafd-fac6-4469-b496-9835e8899856",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"96ba76f8-e248-4110-bf59-f04fd67c9f41",
"c08b8b73-44e2-45c0-98fc-8c09d7953da5"
],
"Companies": [
"7216ca68-5697-4b38-b055-2c92bb3eb1f2",
"64394309-d7f8-46c2-8b7d-b8fccab8ad33"
],
"Groups": [
"14bfe786-e57a-4523-895e-0b3f4cc7d918",
"e2a8639f-0de0-423c-9cc0-8cf48579162d"
],
"Opportunities": [
"42809e3c-7e02-43a6-ae19-5837372771fe",
"d93ef9bd-f2bf-4d06-bb75-b4c9cf3688a6"
]
}
}
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:
"33503d76-01fa-4560-bf6c-b210b486ba30"