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": "ac9083b5-aae1-405a-9fc9-3215ff892571",
  "ParentId": "c816d9e7-2579-4907-a7d6-e4fc092c9113",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d506cdd0-eb62-4b8c-8c98-bb68cfcd7829",
      "bd5edf36-f1f1-4a43-9c0e-1dddb36966a7"
    ],
    "Companies": [
      "6369cc4e-74ea-4c6d-b47a-04a3b008d855",
      "688e7f8a-b5e7-4a62-871c-7d4bf5c25c34"
    ],
    "Groups": [
      "86c2fd26-afc2-4a6d-90c7-68594d049dfe",
      "f6c200be-812b-46a4-a055-3ccab6b04a46"
    ],
    "Opportunities": [
      "d4c8022b-6326-4d96-a582-444b3fedfda6",
      "1fcfb486-56ba-4a66-92c6-9f0ffaa042d4"
    ]
  }
}

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:
"74e19e29-099d-4964-a03e-113e6c201818"