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": "5a685dce-f1e4-4bde-a6dd-5eaef0b2d3d1",
  "ParentId": "12a722c4-d735-44e1-b26c-0f0118ca9cee",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "52b6e061-8649-4583-9da9-95f27101e589",
      "e41dcad4-49e1-460a-8116-ca3a5ee30785"
    ],
    "Companies": [
      "bb6a700a-afb0-48db-b93c-798366872f7e",
      "825e2006-dbbc-43ff-8f3b-4a3a8b9a496c"
    ],
    "Groups": [
      "5d9b33a3-2be9-4ec8-8dbd-d5e9325849e3",
      "538c5ae4-7c6d-42aa-b8a1-5a31ab1d101b"
    ],
    "Opportunities": [
      "43555f42-37ad-434b-9b9c-0a2810261851",
      "b0546a74-a11d-46e7-9340-dff45a6a56f5"
    ]
  }
}

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:
"47a9229f-5b63-484a-ab21-e0fcdcb9a6ab"