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": "f5325840-3355-4240-83d3-e2b6820dcd17",
  "ParentId": "c824b4c8-9bbb-48dc-953b-0ebaeac673b2",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "4323b017-8743-4885-bd38-4d14338e184a",
      "4e0ea517-e284-4543-973d-b3a6fa6a502f"
    ],
    "Companies": [
      "82772eeb-4148-4b6c-b978-934eeef4c986",
      "4bc140c2-582f-4249-a816-0b9b147859d9"
    ],
    "Groups": [
      "99285ea5-5e3b-4673-9346-87e729a1c9aa",
      "426a4c42-a1f0-4d8f-b4b6-d00038093ba5"
    ],
    "Opportunities": [
      "90112178-0f0a-4925-82ff-fb8467b487aa",
      "272eefd1-3f91-4187-be1c-3cf28444b63c"
    ]
  }
}

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:
"2f40f209-8c01-413b-9321-87e240e09737"