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": "b19e530e-249e-415d-b098-e8903d6360de",
  "ParentId": "0abcabee-8eb2-46d5-8466-2718cfc941cc",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "eea71585-cb8b-42ff-b825-5d376ab72189",
      "8c173057-a79b-4b84-99cb-9e21c4565701"
    ],
    "Companies": [
      "e1fbc217-2b63-42bc-8d9f-f3e376536fdb",
      "cd321603-dcf4-4d76-b408-7dfec228facd"
    ],
    "Groups": [
      "775be36a-8c95-4ac6-b65f-985a056267cd",
      "a6a5a0d1-227e-4996-abdd-7bca84969a71"
    ],
    "Opportunities": [
      "2e79a2ae-1f2e-421c-a8bd-2027b264d742",
      "0826f138-333e-4ec5-9248-4dd96f6b6aae"
    ]
  }
}

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:
"90612833-ec39-4374-b103-812a7ec23617"