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": "8175acaa-72f7-43ea-aaef-c4f9b3665575",
  "ParentId": "3ff5d1cf-483b-4253-b85b-00360853bc94",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "17eb1e4e-f865-4c66-a6b6-0137de544d9b",
      "b2188979-8f98-44e9-863d-97b903dde207"
    ],
    "Companies": [
      "a6dd3a20-d1ef-48a0-9123-389b5d4f6d5a",
      "eab1e37b-e1b1-4021-99f9-1b4222767f40"
    ],
    "Groups": [
      "f629c7fd-5b24-4d63-9aae-aea9c5438a40",
      "d8fe9476-247c-414a-bd85-87e26423d091"
    ],
    "Opportunities": [
      "e5591190-19fc-48f4-9f7e-5ca112ef5fce",
      "fe37a107-d554-4db5-8367-c02bc7f7bce7"
    ]
  }
}

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:
"b9ff5243-a740-4b00-84e0-4162a239221c"