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": "1d28bc17-957d-4cca-999f-9717bf8d3e63",
  "ParentId": "b4682002-1f49-426e-85f8-432b0e9423f0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "204dec9a-df94-49c9-b792-feed41e6b49b",
      "4bc44d9b-c193-4928-bb85-2a526629538b"
    ],
    "Companies": [
      "631859ab-9906-403a-bbdf-69fb88cb1e69",
      "36c32223-38d2-4315-aca4-5a152a5a8c3f"
    ],
    "Groups": [
      "c95edf2d-593e-4dd9-8fff-e9a3414bd4cd",
      "ef00175b-56d3-44ff-9777-748c7d7b7a86"
    ],
    "Opportunities": [
      "bfefbc12-85f8-46f3-86b2-fc7652f0eafc",
      "772ca4f9-65bd-49c5-8679-42da385f6564"
    ]
  }
}

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:
"b4d6eccf-112b-4041-b1fc-409f752440a2"