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": "4545ce08-4d20-4fa3-993d-e9134b0bcec2",
  "ParentId": "471e0ed3-3b6a-4b7a-9260-ce04cc19cab3",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "75c45c03-1794-4cc0-aac9-4c6b463e5907",
      "c7dc08af-4a0c-4e70-bb0a-58b97480fe3d"
    ],
    "Companies": [
      "54b1f8ca-3210-4210-ae27-ac19504c0436",
      "2d5f71ca-414a-41ed-ae87-1c4900465e89"
    ],
    "Groups": [
      "c7d4de4e-0806-4954-9332-2bed8643cf86",
      "7af61ca5-d8dc-4208-b4ea-662bfeb84fdf"
    ],
    "Opportunities": [
      "c3189d3e-f971-4f65-bf98-68d6b66e6905",
      "63a5d6fc-2328-44bb-8d65-e51e17f7d58c"
    ]
  }
}

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:
"0a3714de-2b45-4071-984a-1bb024b9fc41"