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": "b12544c5-5d64-4de8-ba75-300b72e645d0",
"ParentId": "cde807ba-7ded-44e4-b88d-2879d6aa69e7",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"LinkedEntities": {
"Contacts": [
"747ef2fa-2df7-44f0-934b-bdcd0fcc6fbe",
"5d94ba40-ca63-44c9-a23a-21d614677879"
],
"Companies": [
"48b8ea6c-e396-4927-ba21-95a1079b40d6",
"870660db-0c14-4adf-af7e-cea891c194a9"
],
"Groups": [
"604b0014-8e98-4f17-9109-20f3f3e31904",
"4c60c611-9a59-4ab5-a64f-da8ccafc4ba5"
],
"Opportunities": [
"21df47a7-f527-4529-9e45-addee35f795e",
"e4ac5c3a-13e7-42ee-a014-36c2b73966b6"
]
}
}
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:
"62cc2d89-1731-4076-9091-8daf7fca20fb"