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": "619a3896-9c0c-430f-9d18-203195bb4340",
  "ParentId": "26d19631-4167-4b4e-8da6-2e329a682f18",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "7bf5547c-cba1-4b9b-a271-2da526110957",
      "9fb5dc59-b6b1-4bff-a46b-7b4ee4c688b8"
    ],
    "Companies": [
      "7ca6ea02-65eb-45f8-ba91-b816263f13e0",
      "626671f8-6d00-44cb-a759-86e2153eee00"
    ],
    "Groups": [
      "76f9b666-ccaf-4ca7-a431-2e4315cf3d79",
      "8498beca-5af4-45d2-86ad-9c836c5ad0ae"
    ],
    "Opportunities": [
      "c091f94e-c8e1-4a46-9d8a-3c9ca5014b78",
      "3d1542d1-30e9-4bbe-8b79-1bdd64635d56"
    ]
  }
}

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:
"f597e861-8bdd-44ba-92f9-7de27d2d1ebd"