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": "4a8fe217-ff29-40e1-a7a3-2ccd4e565330",
  "ParentId": "f23c3cdf-6b6f-4aed-af6a-ccb109cb8fca",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "47f171d5-295a-44f6-843c-0538f0385d6f",
      "248809b1-4c58-44b2-b7ca-f4301c612eeb"
    ],
    "Companies": [
      "64742c41-d2fb-407b-a58f-3f295d5e0742",
      "c5c2dfd0-bc6c-4eb6-a1f4-5af8fcafe848"
    ],
    "Groups": [
      "3d8477cb-1115-4445-aac6-ab9ade7ca111",
      "e1112398-321d-40c7-9171-1a2f37f4314a"
    ],
    "Opportunities": [
      "06dfc63a-2ad4-4332-ace3-5fd6359d7abf",
      "16cc2c77-ef97-43ef-9b77-f26b80105cf7"
    ]
  }
}

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:
"c66c5aa3-53d5-4038-acf8-531ff6bb6fa0"