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": "0e5d2c3b-f762-40ea-bbbe-e2b943fa5914",
  "ParentId": "e33d8869-5666-429d-8faf-8432bfbdb8da",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "35c72b1a-f6bb-4f1d-93d9-bb83737ab937",
      "8fe8cedf-74f7-4abb-b698-a6047caed6e9"
    ],
    "Companies": [
      "3c9f0d73-faec-4099-9174-461e2d84d111",
      "9212f299-dd30-4fd5-a289-b1b7d8905ac9"
    ],
    "Groups": [
      "69fd7e7a-0db9-413b-ac53-e72d89d70c08",
      "73061fcb-5a08-4112-91da-03179fab7b5c"
    ],
    "Opportunities": [
      "c4a06e3b-1271-4db9-9e8f-f84c106fc7a7",
      "0bdf1058-f5a1-487c-84b2-64ea2ef38c42"
    ]
  }
}

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:
"bf784647-8a48-4ba6-a8c2-daa71b0c454e"