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": "349cf866-e10f-4f1d-b970-9e8407b84c73",
  "ParentId": "18a745af-3075-49be-9849-5c8605bef924",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "5868896c-4139-4f3d-8db9-dc4ae445264f",
      "98731e32-253e-4f7c-ad5f-1d466d96bb3d"
    ],
    "Companies": [
      "2d92bcb1-96b5-4c1a-b266-28dd0a26360b",
      "69f1a89d-8099-41e2-bdd5-205dd07c8323"
    ],
    "Groups": [
      "b77bcdfd-2029-4779-920a-aeefb6616177",
      "2ab3e8c2-e26d-42d6-b3c6-d9f721abb3dc"
    ],
    "Opportunities": [
      "a156f008-9704-44eb-8066-4082c2ee0cf1",
      "c04ca9cf-b964-4e87-a456-6694ca2d206b"
    ]
  }
}

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:
"d5b022e7-3bda-415f-8b8a-062715135327"