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": "2d8a06ad-82f7-4c4d-ad55-b5fab0d60d83",
  "ParentId": "33f6a828-6c74-4bb4-93f8-b5b2f2a8eaee",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "3c4e0cc8-da9a-4b3c-bd3b-803bda190542",
      "f96239bf-1c79-4943-9d1e-8bf238e34924"
    ],
    "Companies": [
      "c0963aa7-bad4-4054-a92a-11e6f5c8e717",
      "d79353ba-eb67-47b9-8531-0e1181e15744"
    ],
    "Groups": [
      "2fafed6a-b65b-42ed-978d-c4c7e28b0625",
      "8364e459-3312-4331-9003-33600235157b"
    ],
    "Opportunities": [
      "5f529f45-91c7-4c9d-a920-5dc7cc1691bb",
      "7e6a5bc0-9f79-45c2-a39e-04cc0b288d6b"
    ]
  }
}

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:
"fe8c93cd-9c8a-4a40-ab0a-8d985ebecbc8"