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": "3f946fec-8c34-4f06-bbd1-3aaa7908103a",
  "ParentId": "4d9afd6e-70f5-4e96-8598-a005439f2e3a",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "3fc1ac36-2bfb-47db-9c64-20174a863a7f",
      "9daaa926-afb5-4517-a8ba-5cf6dfab74c6"
    ],
    "Companies": [
      "a05185cf-5678-4a6a-8f3c-caa01ee5b90c",
      "e9b0f712-fb60-405e-9d2b-c87a09e22eea"
    ],
    "Groups": [
      "dc4466ad-2b09-45a5-adb5-ab3ac195dbcd",
      "27f40b31-4595-4d44-a611-642a62adf6ff"
    ],
    "Opportunities": [
      "29281f4f-23bf-4dca-9956-bf79abbc5c28",
      "641729a4-f311-4977-8fdb-4a2b82ac34f3"
    ]
  }
}

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:
"4decefbf-fd53-450f-ba29-ff22c28d1a4b"