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
NameDescriptionTypeAdditional 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": "46a9f87b-8b52-4453-a026-c940bd13628d",
  "ParentId": "4048616a-42aa-4472-a1a0-4df2157451c3",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d7f8d0df-e838-4413-a356-c79dff7c66bf",
      "0314162d-72c4-4c3d-841f-f7fb70f17444"
    ],
    "Companies": [
      "af3e5e27-7ede-400d-9415-4fabc5b15578",
      "c39b9f10-ff38-4251-a033-53003e4e0de2"
    ],
    "Groups": [
      "8693693a-ef78-4f52-a4ad-c0fc75cc600c",
      "9feec1fa-0c7f-4a12-b455-1c54097a6849"
    ],
    "Opportunities": [
      "10a97e0f-febc-4836-9ccf-7f63b4dc7d0d",
      "f8d88e22-1370-4648-af56-24787d187c1b"
    ]
  }
}

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 identifier

Response Formats

application/json, text/json

Sample:
"91478ccf-d36b-4710-a478-47e3476b5bb3"