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": "88b86a31-2b60-4139-a956-d056c5e49715",
  "ParentId": "d2258dd2-e452-4e77-86f2-c39a83ab388b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "5fef95ec-dca7-4413-bfb8-dc78c0e6b5d7",
      "9f02d054-85f9-45ff-abbc-b04b99914b93"
    ],
    "Companies": [
      "a9a999c2-fe99-473a-8c02-bf6ba24aee9c",
      "99151b34-37e7-4463-9c54-87b140287a6b"
    ],
    "Groups": [
      "11d42c18-4ac7-45cd-96c4-c351c303789e",
      "b151d263-e91d-4e0c-8f2d-7e3e334c06fc"
    ],
    "Opportunities": [
      "63e123c4-61fe-4542-8a98-cf72edde5800",
      "6b2b6a31-b334-4aa8-bd95-d0bc7367ad3d"
    ]
  }
}

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:
"a566e199-7a78-4ea3-8d08-349cfeb60d95"