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": "f74e37ff-ace7-438c-8bf3-c5dd939a9bcc",
"ParentId": "b288f5f6-e3bf-4817-93f2-27acc9ceffd4",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"8835e176-cfbf-405f-8a4e-69523bf1bf60",
"b662ed4b-acb1-4a6e-9a46-acdbcf7e930b"
],
"Companies": [
"807b88f6-0c9e-4f8d-8c5f-0a9da8cc23cf",
"a624c1cf-93bb-45f0-811e-30302f526b4e"
],
"Groups": [
"55101782-9612-4203-a2ac-5a852c3135a3",
"340a1e86-eeb5-4221-b53c-320fed2d114f"
],
"Opportunities": [
"18f1c468-db35-45f1-8e6b-a5af3b62df4c",
"ed226d47-960c-49bf-8a47-082258d63fab"
]
}
}
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:
"baa0802b-7928-48e6-a85f-af5fc7221405"