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": "5a52f041-aa89-4eaf-a86c-34d5189b5605",
  "ParentId": "28c693ca-1fcb-4650-91df-31d34425972b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "6152a219-f878-4bef-b46c-9771de579efc",
      "0c07e8a1-edbf-4569-95ce-92de3c8262d7"
    ],
    "Companies": [
      "605f773b-b439-4175-a2ff-0d08b48ba306",
      "8be2f7ce-3994-4bd6-8945-5f2da0d7a186"
    ],
    "Groups": [
      "56d628fb-c559-4af5-8f89-4d92be39f0bf",
      "ab840bd4-5be0-48e6-b282-84c25bc0cefd"
    ],
    "Opportunities": [
      "e0c0756a-8ff2-4314-a293-3e6bf03302fe",
      "9e688769-ec21-4f4a-9086-594207b07bc5"
    ]
  }
}

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:
"4ceaf35f-a9fb-48ea-80c6-8821e339e0e5"