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": "a8ff2f3d-3f8e-47ef-8d4e-5b86c8fd765e",
  "ParentId": "843ce878-dfe0-47ec-95f4-3c5a373e129d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "5f26c209-0f95-4cd3-a672-8d8402b15bcc",
      "7db87153-186d-47a4-8fa3-b62268f0f4de"
    ],
    "Companies": [
      "ffe5a7da-0af4-49c3-b5ed-1ddfa2455051",
      "544a1171-3714-4d8b-a4bc-fa3ddcb5dddd"
    ],
    "Groups": [
      "a18bf7b3-8e43-4736-884f-cbbb1454d87d",
      "e7be9267-e6e1-4a34-aca2-b4209b44de84"
    ],
    "Opportunities": [
      "49a193c1-1d0d-4178-8a56-a02ee8029761",
      "e160a3f8-1945-44ee-974e-4b26bb6599b9"
    ]
  }
}

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:
"9dbd9dd6-630c-416a-83f4-df7517067600"