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": "41ef9bd0-087e-486c-93a4-c14a2fb56fb4",
  "ParentId": "324103c7-c7c1-4eef-9d9e-39e05120aee9",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "9a2868dd-da43-4206-83c7-bd6fe3e1a66c",
      "9947e9cf-b3a8-43d5-816c-3dc1f57dc423"
    ],
    "Companies": [
      "8a8bbc9f-e493-4a8e-a107-0bd448fd6feb",
      "4d981145-92d7-44b9-a80d-939aa1290bfa"
    ],
    "Groups": [
      "2f933f48-e3df-491f-8b5b-4d2314610bd9",
      "1e3a8b6a-d4f6-411a-991d-f3bc01c7e156"
    ],
    "Opportunities": [
      "e278c222-931d-4457-ae80-8c971ae1fb2d",
      "ef3ccab5-208e-4818-a0f4-0a30ab84b487"
    ]
  }
}

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:
"9dfdab22-3669-43d1-966b-26385d96ea8b"