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": "b1f2c909-f04e-4a4d-a11e-11b7ae90b2d1",
  "ParentId": "f429ebd4-a0c9-42f0-8709-a4f85f3ff3ed",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "bc8e9bd3-a56d-4a57-a1bd-a5bf03d6e984",
      "0bf7f16c-2cd1-4890-87e2-5b57088eb91e"
    ],
    "Companies": [
      "0cf97e86-5d58-4d21-8c2e-28a79cf09882",
      "4a3c4dc2-744e-453a-a1db-8ea3d99b8d96"
    ],
    "Groups": [
      "e25af0d1-e7fb-493b-87a8-4d7c53bbebce",
      "4aebab25-773b-4460-aaff-423c955f3a40"
    ],
    "Opportunities": [
      "0d2ea40e-a17e-477b-9569-0727b0f4b1e7",
      "87aedf98-808c-4abd-87a8-f443e791627f"
    ]
  }
}

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:
"40d81a48-90f7-4bb6-9923-4e9571f73455"