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": "6bec485f-e06d-4144-82b1-ad57c154bc4d",
  "ParentId": "7dac9895-1f0f-4887-9635-072006b639de",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "e57e2577-9115-4f38-9665-3a52a3d5408b",
      "a8f96578-68cc-4786-80e8-01f8b70060e1"
    ],
    "Companies": [
      "09b9bf64-d2b7-4278-96fc-81547ced39a0",
      "7177081e-449d-4f87-8caf-f66f15f7322d"
    ],
    "Groups": [
      "c67ea096-8f7f-4baf-97d0-c2a4e85a54d4",
      "0a32de69-1e66-4f9c-a9e1-8be093f44b18"
    ],
    "Opportunities": [
      "520bffef-da5b-4f2d-9fb5-3bb5ab025033",
      "5f4edcdf-be39-4c3c-942c-e026d9fa3223"
    ]
  }
}

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:
"6070a405-333d-4e1f-b3fd-6a116fbb7b79"