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": "990b1149-d1b6-489e-88c4-cca837a41154",
  "ParentId": "3c7d0020-de9f-4a36-925e-f5dde753c6c2",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2e41036f-149d-4aba-b7d2-5576904ffa5d",
      "70e1c3b1-4ee6-42d6-8fbc-5bf8ea9d317d"
    ],
    "Companies": [
      "5d605b79-f0a7-4713-8891-cdbb89a2859c",
      "b4c9c6eb-f7ae-4dd0-a522-b1eba218714d"
    ],
    "Groups": [
      "f6a84b40-be9d-4cbe-a79d-adbfc5a61828",
      "4f7e2427-f655-4925-90fd-f7f06f8740fa"
    ],
    "Opportunities": [
      "167e1b90-6b6b-452c-b92f-885304d3bc72",
      "67a25988-f20d-4fce-825c-84fb28f7ea19"
    ]
  }
}

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:
"cc99cbf2-b3bf-4466-97f4-1709ab9e2b42"