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": "5b1419ba-1465-47d3-89b8-3af85dbc9986",
  "ParentId": "a7e38ff6-1a83-466a-843f-4518c1ad4e2b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "cd548142-eace-4fc6-9268-40a5d7d37764",
      "9002eca0-b38b-46d9-8cb3-c0dc461a5158"
    ],
    "Companies": [
      "df530cff-280c-42b2-bf48-accfa8c99e03",
      "b11bb22d-28de-4476-b9ba-c378a0277195"
    ],
    "Groups": [
      "29563ea4-dc7e-42f7-bf45-2269daa007da",
      "8e8e1954-5953-4c9f-a182-3d40303789ed"
    ],
    "Opportunities": [
      "8655702f-3ca1-497c-ae45-056a2f46bc67",
      "c337475d-0fa1-4ef4-8546-10de643a6b40"
    ]
  }
}

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:
"7b10e821-012b-49f6-b58b-9827cbfe27d1"