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": "1aff4bbf-aafe-4c34-b415-3b96404415d8",
  "ParentId": "5fb3257c-ac28-4ae5-8755-050e9c789bc8",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "54ea3c99-1c6e-40de-8a8e-e8accf8486e9",
      "4d38253b-cd49-4614-ace6-aa41d9dd9ed6"
    ],
    "Companies": [
      "5c8b7676-5b73-4ee9-bfd9-bf3ae4d1fc32",
      "59926e85-40cf-489b-b5ae-fe19a5cb4d06"
    ],
    "Groups": [
      "cf09eb4c-e8c7-40b6-ab65-6894d6c2b8df",
      "4732770d-3d64-4fb4-9fa5-fc01a665ac29"
    ],
    "Opportunities": [
      "8db80342-e211-4c38-83f0-10a9df9e6de8",
      "38fb829d-3af1-4cb0-b043-dc2073a4c2d9"
    ]
  }
}

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:
"1962d7b5-0b71-4063-b5bd-29d693cddd38"