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": "908eaff0-23ee-441b-974d-ae5d117242eb",
  "ParentId": "4097073a-04c5-447d-8ec3-ff51a4697a5b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "90cbb021-3c1a-4f67-9ddf-f5238c69c475",
      "bec07964-3239-484f-aa26-4fcadd7c2b68"
    ],
    "Companies": [
      "a8b6a732-1708-4ba3-b69d-9fc72f4f5c03",
      "3c0157f8-40d8-4703-80d4-75825e017680"
    ],
    "Groups": [
      "ac9b5798-b910-46c7-a18a-44ce50cdcea3",
      "1b42fea2-5900-475b-aaff-7813530f5b97"
    ],
    "Opportunities": [
      "59b1a772-1a22-4a71-973d-27d35cdd977a",
      "62708de6-b5ed-4082-8808-f9645c122039"
    ]
  }
}

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:
"d4ac82e7-ee95-4241-b522-abd156ff1826"