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": "f50fe2b6-0634-4d99-97da-82ee3b8919e8",
  "ParentId": "914860db-06ac-481c-8cd0-488b04ee1f7d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "56335aa4-dd3a-4a80-b02a-de521d828fb2",
      "05d5ca9f-dde0-412d-a72b-f686ef8bb519"
    ],
    "Companies": [
      "191869b0-4e88-4163-8601-1c90c2a11f0d",
      "7b51bb4a-fcbf-4d30-937f-24f8a5b2410e"
    ],
    "Groups": [
      "fdca6d02-ca22-4045-92cd-c7c9e032a2ab",
      "dbf07159-e753-4175-81bc-e2757f195959"
    ],
    "Opportunities": [
      "459931ea-ee5b-4648-b57c-a2419b92df93",
      "4f14401c-15ba-48fc-b642-d54c5f8a7aad"
    ]
  }
}

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:
"d9f8cea2-8cda-4f6d-b882-fdb820d4a800"