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": "79839771-1bc9-47a7-b072-89dbab639c70",
"ParentId": "f13a56da-343c-4d78-9149-46d5c53c665c",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"066d1315-3969-4f21-9efd-2f753c200873",
"c1cb3daf-3def-4bb9-aba5-08892693bbfb"
],
"Companies": [
"f59b3309-49eb-4fb9-8fe0-24a63d54d226",
"9d356b92-4333-4335-8343-cc3b8486317a"
],
"Groups": [
"e5fef869-a3fa-4a6e-bc10-009977138d25",
"cc56bc5f-141a-47d1-84bb-a154002ad3ce"
],
"Opportunities": [
"91beeb57-9034-4989-a1c0-fa70c726c955",
"a590d09b-de45-4951-8754-f492c26380f7"
]
}
}
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:
"fd35b1b1-f31c-4666-a3b2-a4659aa0c650"