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": "54816672-5d50-43e5-9e25-4702ff1aea08",
  "ParentId": "15c71151-ed2c-4e58-b407-3275af6427ba",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "f2e88851-ac08-44af-b387-f30f015be5ee",
      "2cd71983-addd-44d1-849c-6db970d78346"
    ],
    "Companies": [
      "aa4b8bb8-4a47-4a33-95c6-6dc29e0c5475",
      "c5e047e2-da14-4b13-a6ef-63e5c129248b"
    ],
    "Groups": [
      "1d6cdb67-a91f-457e-877b-64bf5d72c5d7",
      "21d06f98-e906-4031-8fc0-4f5e4de40f42"
    ],
    "Opportunities": [
      "751d5f1d-badd-465b-a5cc-ade717acd6d1",
      "4226d518-3233-48e7-867b-012f04ad7018"
    ]
  }
}

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:
"0400446c-af6c-468a-889e-a9156ca63b63"