POST api/v1/clients

Request Information

URI Parameters

None.

Body Parameters

Collection of CreateClientModel
NameDescriptionTypeAdditional information
Id

integer

None.

ClientName

string

Required

String length: inclusive between 0 and 100

PartnerClientId

string

Required

GlobalSettings

CreateGlobalSettingsModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ClientName": "sample string 2",
    "PartnerClientId": "sample string 3",
    "GlobalSettings": {
      "ClientId": 1,
      "CustomLogoPath": "sample string 2",
      "HeaderLinksColorCode": "sample string 3",
      "HeaderColorCode": "sample string 4"
    }
  },
  {
    "Id": 1,
    "ClientName": "sample string 2",
    "PartnerClientId": "sample string 3",
    "GlobalSettings": {
      "ClientId": 1,
      "CustomLogoPath": "sample string 2",
      "HeaderLinksColorCode": "sample string 3",
      "HeaderColorCode": "sample string 4"
    }
  }
]

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.