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": "e16b577d-22ee-4445-b8e5-bb0a6f467be6",
  "ParentId": "b96e850f-fe6f-40e2-bd38-11ee982188bd",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "145a0919-2486-4c82-aab0-56c540cf760b",
      "409d1882-3bed-4fa2-8889-eced4ed44894"
    ],
    "Companies": [
      "4004c8de-f26e-4238-a9fc-d87f42fcfc15",
      "2447a8a0-b99e-453c-83a7-d3717b1b10bc"
    ],
    "Groups": [
      "6a74aed4-f1b0-43d9-b9b9-a1b53bbda2a2",
      "41b5dde3-23f0-40bd-bc0f-aa4f311ed7f7"
    ],
    "Opportunities": [
      "c4c4b2d5-991b-467f-9df2-962b1f999dab",
      "f77eb898-5afd-4679-ad47-6d755201c567"
    ]
  }
}

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:
"8e81e292-6c53-419c-9b43-d25edead9c19"