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": "4e088e03-12a0-41a0-bf32-bb6d66b5789d",
  "ParentId": "5d1c367f-87a2-4842-9ed5-034366749111",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "5f35a1f8-48c5-49cf-b4bc-6422f1881498",
      "ed5c1fc1-cd8f-4750-80ed-e0e80de6631f"
    ],
    "Companies": [
      "d4d56959-1b72-4299-941d-1e93cc756bf8",
      "a5dda437-7b8c-4bfd-bb9a-92ad3293ffa3"
    ],
    "Groups": [
      "f3fbaabe-5915-4739-9328-4fa1b4079c7e",
      "c46e6c45-6940-4247-b354-8eea920a119c"
    ],
    "Opportunities": [
      "74834fe9-d1c4-49b5-a173-44203cc29c71",
      "2d60377a-f706-493a-baca-7eaa312575ec"
    ]
  }
}

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:
"abdb76d4-efe8-40a4-9873-4621c7d0635c"