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": "7ba80e4c-d145-459e-9573-c0156b72cdbe",
  "ParentId": "56ddabb2-3950-44df-abc6-ed81f579d3c2",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "73d7d1c6-3a6b-4a36-9e73-87abdba5eabe",
      "a1aafc92-1a5c-4323-979b-c14cc68e0f75"
    ],
    "Companies": [
      "65471949-1013-442e-807a-bea163268d88",
      "3f90d841-e066-4f69-ad04-4c0ab2180478"
    ],
    "Groups": [
      "03f97933-d00d-49fd-a407-2389ee0e27c6",
      "9e28016f-eb9c-40f1-bc95-f7cb21e25a02"
    ],
    "Opportunities": [
      "869d77dd-114a-4b1d-92e0-e5858c338bc4",
      "fa2d0fd5-8102-4bdb-88bd-7653f59e54fe"
    ]
  }
}

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:
"1f772a6d-0f12-47a1-a7f6-23deeeac4bcd"