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": "a3d2eb64-b53b-4c38-b711-68c9f039be15",
  "ParentId": "1796d40e-afb8-4bd3-a6de-2c4dc1d8c1a6",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "50d608c0-89b7-4cf0-b3d7-28163cd8e550",
      "1213d0a9-a633-434f-8246-a9f1c5cac7b5"
    ],
    "Companies": [
      "b56b1aa0-e778-4e9d-8044-d67e3c9e062d",
      "6628db40-7828-42ac-b638-7773d97c22be"
    ],
    "Groups": [
      "7e7e3112-5d73-47ce-9d11-b06f418eb6ef",
      "01835bff-d4cd-4f96-ace5-1c9367d7fab0"
    ],
    "Opportunities": [
      "1c786421-f512-4533-a955-58a274d38708",
      "abfc1881-f5f8-47dc-8ec6-049ecec78f38"
    ]
  }
}

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:
"26304c2d-057f-4f02-96be-0856b5df83a7"