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": "7fcab9d4-0f3d-421c-9fa4-444487a902ab",
  "ParentId": "6399ea2d-a752-46ba-bcc4-8fc1ae4ad435",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "ed7567b3-ffb3-4b3b-a07d-f9ba5f53007f",
      "c6750251-b49b-45b7-810a-891ae601eb9a"
    ],
    "Companies": [
      "505c98ae-6b5c-4f84-9937-6d17085acaaf",
      "f43758ec-efcb-4227-8589-fbac9a8ec87f"
    ],
    "Groups": [
      "6b9ac0c8-352e-4db5-8ca8-62d6430bbd3b",
      "bbdc61ae-b58e-4777-ad54-59cc2c8e1993"
    ],
    "Opportunities": [
      "93f3f937-e48b-40e9-aa55-2af666bfec36",
      "1e1fe74e-3efe-4177-9354-f9624d1ab2b8"
    ]
  }
}

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:
"84c5a760-78bf-4743-8da6-faadbcceecf7"