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": "eea56d5e-b302-4812-a3b4-ce501b084d0e",
  "ParentId": "e2c717b7-396b-4240-a661-3ae8afd1bace",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "dccf4fd4-94c7-4f5c-a238-bbd8dc841e63",
      "8b2696fc-2fbb-41b4-b0af-dc139eeadb93"
    ],
    "Companies": [
      "a7ceeed8-7d79-4bfd-82bb-5264e7e3d611",
      "890f5d40-8923-4fe9-991d-d2bb80878c9c"
    ],
    "Groups": [
      "012e742d-9f6f-48fc-9337-237689d8e08a",
      "f4f7ac8c-f679-4fb8-a9e3-e6add6d86de6"
    ],
    "Opportunities": [
      "9e953760-f44a-49bb-8f87-b8999fc6f658",
      "8a1d8258-1440-4548-b019-f0aa89a66e4b"
    ]
  }
}

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:
"1068465c-521b-42c5-adb0-f8a85636161e"