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": "a75a6e07-6ca3-4ad8-853c-c3d9083a918d",
  "ParentId": "ab8b3718-894a-40aa-939e-624d87e4323e",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4fcfa70b-a438-4a9d-8d5d-f853ca60155a",
      "f1f50e53-90d0-4173-86fc-4d7b7ca2c194"
    ],
    "Companies": [
      "04fe8455-d594-4d12-a8d5-2d5951b5841f",
      "e8f7460b-289e-49e2-b015-af218004a9c1"
    ],
    "Groups": [
      "22ffbac4-3665-4686-8e2d-462a19723470",
      "91dd5435-9d70-4cc5-9990-7f65cd0b39ec"
    ],
    "Opportunities": [
      "4e15ceb1-de02-43e2-b25a-383b0ebd5868",
      "e08f1ead-aecf-421b-b43c-e49f140f14af"
    ]
  }
}

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:
"2d833720-f5d0-4980-8d4e-92c35a06547c"