PUT api/Admin/EInk/Badges/bindings/global

Request Information

URI Parameters

None.

Body Parameters

EInkBadgeBindingRequestDTO
NameDescriptionTypeAdditional information
TemplateIdProvided

boolean

None.

TemplateId

integer

None.

TemplateEmptyIdProvided

boolean

None.

TemplateEmptyId

integer

None.

TemplateNoPhotoIdProvided

boolean

None.

TemplateNoPhotoId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateIdProvided": true,
  "TemplateId": 1,
  "TemplateEmptyIdProvided": true,
  "TemplateEmptyId": 1,
  "TemplateNoPhotoIdProvided": true,
  "TemplateNoPhotoId": 1
}

application/xml, text/xml

Sample:
<EInkBadgeBindingRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.EInk.Badges">
  <TemplateEmptyId>1</TemplateEmptyId>
  <TemplateEmptyIdProvided>true</TemplateEmptyIdProvided>
  <TemplateId>1</TemplateId>
  <TemplateIdProvided>true</TemplateIdProvided>
  <TemplateNoPhotoId>1</TemplateNoPhotoId>
  <TemplateNoPhotoIdProvided>true</TemplateNoPhotoIdProvided>
</EInkBadgeBindingRequestDTO>

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 'EInkBadgeBindingRequestDTO'.

Response Information

Resource Description

EInkBadgeBindingDTO
NameDescriptionTypeAdditional information
Scope

string

None.

ScopeId

integer

None.

TemplateId

integer

None.

TemplateEmptyId

integer

None.

TemplateNoPhotoId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Scope": "sample string 1",
  "ScopeId": 1,
  "TemplateId": 1,
  "TemplateEmptyId": 1,
  "TemplateNoPhotoId": 1
}

application/xml, text/xml

Sample:
<EInkBadgeBindingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.EInk.Badges">
  <Scope>sample string 1</Scope>
  <ScopeId>1</ScopeId>
  <TemplateEmptyId>1</TemplateEmptyId>
  <TemplateId>1</TemplateId>
  <TemplateNoPhotoId>1</TemplateNoPhotoId>
</EInkBadgeBindingDTO>