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": "fe1e1970-74b4-47ba-aaa3-eb52deefa0b2",
  "ParentId": "e78c0580-a44c-455c-9183-200e5e3a0080",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "07f56598-36b5-459b-91fb-c1be410b03b1",
      "77616b67-b3cd-46a3-930d-e3646181c25e"
    ],
    "Companies": [
      "551ef307-5063-4555-9dce-afd3b8ed1c76",
      "02b01876-e91e-4836-94cd-952210e404c7"
    ],
    "Groups": [
      "7084bfac-0f9a-49d4-a39f-0a9d2066e232",
      "4008dbb3-f9d7-4234-8211-2ad2411075d7"
    ],
    "Opportunities": [
      "47b3d5c3-f908-4287-8699-4b418e26647b",
      "ef2e1e99-8b57-4d16-a27f-36aeaa97f69b"
    ]
  }
}

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:
"7be4133d-00af-469e-925d-417573a15960"