POST api/Organisations

Request Information

URI Parameters

None.

Body Parameters

AddOrganisationArgs
NameDescriptionTypeAdditional information
Name

string

None.

RegisteredDevices

integer

None.

RegisteredStartDate

date

None.

RegisteredEndDate

date

None.

RegisteredEdition

SoftwareEdition

None.

Comments

string

None.

CustomField1String

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "RegisteredDevices": 2,
  "RegisteredStartDate": "2024-11-20T16:23:11.7782978+00:00",
  "RegisteredEndDate": "2024-11-20T16:23:11.7782978+00:00",
  "RegisteredEdition": 0,
  "Comments": "sample string 5",
  "CustomField1String": "sample string 6"
}

application/xml, text/xml

Sample:
<AddOrganisationArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S3API.Controllers">
  <Comments>sample string 5</Comments>
  <CustomField1String>sample string 6</CustomField1String>
  <Name>sample string 1</Name>
  <RegisteredDevices>2</RegisteredDevices>
  <RegisteredEdition>Personal</RegisteredEdition>
  <RegisteredEndDate>2024-11-20T16:23:11.7782978+00:00</RegisteredEndDate>
  <RegisteredStartDate>2024-11-20T16:23:11.7782978+00:00</RegisteredStartDate>
</AddOrganisationArgs>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddOrganisationArgs'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>