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": "eb5c2fb2-dbd4-4ab5-badc-c46630fb512d",
  "ParentId": "7c760757-c165-475d-b6a5-4167b0c5e290",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "5be3edfb-686c-4f88-a662-eb7607d0126e",
      "9aedf07f-1e53-4ec4-bd10-cdd61650040d"
    ],
    "Companies": [
      "476fe0b8-3f35-4071-864c-c82d609747f0",
      "5e4afb5d-537a-4a79-ac03-2e2b3121d395"
    ],
    "Groups": [
      "3a53f192-c40b-4015-9095-c9670b64a942",
      "77b6626a-d2e8-4f7e-abe9-8c5de5110be4"
    ],
    "Opportunities": [
      "f5d10c2d-5d21-420e-a702-2cec48fa7269",
      "59d13cb8-0e11-4e5d-a156-978d2d507616"
    ]
  }
}

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:
"82847ec3-6ebd-43a6-b8e0-cacf4a3bc593"