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": "ef750398-13b2-4945-8005-babedd2a90b8",
  "ParentId": "1684e33f-56aa-4e5f-8235-98ea3b5647d5",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2d5f4d70-a637-473e-9057-5d1efe5e2aab",
      "4ecfcc0b-64f5-4464-b332-2cc8192e2084"
    ],
    "Companies": [
      "0cd739f5-afc3-45f2-9fcd-09cc6d61e38e",
      "7cf8e631-35a2-4369-a021-40f0989a9cf3"
    ],
    "Groups": [
      "be95606e-fa0f-4884-8728-f49eccd46dd5",
      "30658491-69d3-4afd-8a11-01e64e6c213b"
    ],
    "Opportunities": [
      "bac24e9c-3a1a-420e-8000-92836fc5ce18",
      "b1448e5b-715a-4378-aa98-74e3da6aa7c0"
    ]
  }
}

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:
"627a2732-0381-4d7e-b9c1-3d528688c511"