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": "16c7a6e8-4297-4b98-905a-5c05c45792f4",
  "ParentId": "08dc5c46-9fcc-43ae-a9bf-418fe107eb4f",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "a7b817c0-f92e-48c0-8f2a-9247340ebc12",
      "ba83a795-ab12-42ed-95df-c930233a5969"
    ],
    "Companies": [
      "a1df7f6e-0032-4e06-870d-a3abda49f9fb",
      "9a076048-5538-4f9f-8fd9-8d17834f4910"
    ],
    "Groups": [
      "7211e065-3db8-496c-8032-325e9f522050",
      "fe85d95b-c507-4639-bd80-e754e4bc7a4e"
    ],
    "Opportunities": [
      "86182217-89a2-44e8-8562-7ceedf54d0b8",
      "ccd5973d-c8b5-4100-aace-661b83cd0bec"
    ]
  }
}

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:
"e106edbc-1280-49d3-b551-400652c38301"