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": "fbf05ce4-7a5e-47f1-aa97-d3f460cc1f2c",
  "ParentId": "0f854024-ac34-4512-9b5b-c4db7a99bf9c",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "17b33d8a-ccea-4884-8713-434f39a59525",
      "cf9d4999-7e06-4e96-9cd7-2e99b55b7d99"
    ],
    "Companies": [
      "6ffd0821-b83f-436e-a349-ec4e236594c7",
      "a35b38dd-5cf2-4fad-a7d9-f35c082b6b4e"
    ],
    "Groups": [
      "64b5d817-4a1d-4ed2-bb08-86de40ad44f9",
      "63b01f7f-83ca-4692-939f-09448f56ec8f"
    ],
    "Opportunities": [
      "2a72e22d-604d-4e7e-acae-cafd999b9fa9",
      "8a95e2c8-e5e1-44b6-b985-1933497415f5"
    ]
  }
}

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:
"de84e0fa-db42-4a99-b4d8-3831a5ea5173"