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": "f5f33fa5-d0d1-4047-81a2-25b145711b88",
  "ParentId": "ec4ab267-d107-4960-8a6d-723be39c880f",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "8feafb6b-96bb-4e8a-8b0f-ba123651ebce",
      "1d4ac150-296f-4303-8fea-0ac5255e9033"
    ],
    "Companies": [
      "9123ea82-8cd6-470c-81dd-50ac546eaff5",
      "0194f9c1-d7f5-4c62-a0d4-42ecf1189105"
    ],
    "Groups": [
      "d0edc767-497d-4c4e-960d-e4b7603e758f",
      "6d7bc14b-b65d-46c5-ba7c-ce1f47c4a377"
    ],
    "Opportunities": [
      "924856f9-73b1-4ed0-a7d1-f8fbb58f443b",
      "6a2d4e05-b702-47b8-a40f-c1dfa12158ae"
    ]
  }
}

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:
"3a1753ba-98ea-4657-93c8-ea41ae48a3d2"