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": "39347958-e7a9-416e-8692-a06f1c693702",
  "ParentId": "fccb637e-6a43-4fd5-84fd-124ec4c14eb9",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "0e413721-a253-471f-98ab-4438f3760e26",
      "650b5289-7500-49cc-99d1-2c82e05ec937"
    ],
    "Companies": [
      "d2c3617c-f7b6-4873-a922-ae9a0b2ae60e",
      "6e2de633-53e2-4cc0-8945-55b0cebc95a3"
    ],
    "Groups": [
      "d2a7ea0a-4d6c-4c83-9173-f9f703a650fa",
      "689251c7-ac95-4075-8153-a422edf217cc"
    ],
    "Opportunities": [
      "38152d88-e392-40ab-bf7d-44a7fa24a01c",
      "ad077eac-f373-487b-94a8-6a3e530ae869"
    ]
  }
}

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:
"795d7975-c023-4449-9461-507c97dc3b5c"