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": "aa9858e0-a5eb-47d8-8247-7a698a962a6e",
  "ParentId": "25a1b77d-65a9-4b9a-ad71-4e973d1af829",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "ffa56bbf-2af2-4a0c-a050-92a4ad28017e",
      "9c642f6e-7873-4374-8d29-62af3d998c9f"
    ],
    "Companies": [
      "1c7083db-ae1a-404b-9a66-020863826b6f",
      "f0cd2f41-ed33-47e9-9599-d4459e3828ff"
    ],
    "Groups": [
      "62fcbad1-327b-49b6-b608-4e431942ea7e",
      "55a1fa6a-e6e2-4f1f-8338-bbf4d606d4c0"
    ],
    "Opportunities": [
      "108f5700-5f1b-46f3-a231-5c3a25b5c192",
      "9a887e82-5bfa-425d-a50f-756557eed3b7"
    ]
  }
}

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:
"6077644d-5ed5-4ef9-b231-c04d59fa2336"