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": "f20f03f9-0fbc-4018-a644-f41f46ec8e4c",
  "ParentId": "886861f6-ab1e-4253-8470-cb644b07f633",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "aab37aee-cdc4-4c38-9561-41761fc4bc9a",
      "6ef48dfa-c459-49de-822c-1acaa8327aae"
    ],
    "Companies": [
      "90c369fd-29e7-455f-b125-0359e18bc729",
      "7144e599-5224-4243-9c95-402281fef322"
    ],
    "Groups": [
      "1c52f0d7-c823-4f13-bc76-6aee742da284",
      "818780a6-c8ca-42eb-b005-00bf3bcf1cd8"
    ],
    "Opportunities": [
      "d987d40e-fbe1-49fa-a1fb-c5803f47d82e",
      "8eec16cb-441d-49f1-8fb7-ec09c899a9d8"
    ]
  }
}

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:
"60f1168f-5401-4486-a37d-6e37047a6f4b"