POST AddTimeSlotCategory

Request Information

URI Parameters

None.

Body Parameters

TimeSlotCategoryDTO
NameDescriptionTypeAdditional information
TimeSlotCategoryId

integer

None.

TimeSlotCategoryName

string

None.

TimeSlotCategoryDescripation

string

None.

isActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TimeSlotCategoryId": 1,
  "TimeSlotCategoryName": "sample string 2",
  "TimeSlotCategoryDescripation": "sample string 3",
  "isActive": true
}

application/xml, text/xml

Sample:
<TimeSlotCategoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TLTApp.Entities.DTOs.Reserva">
  <TimeSlotCategoryDescripation>sample string 3</TimeSlotCategoryDescripation>
  <TimeSlotCategoryId>1</TimeSlotCategoryId>
  <TimeSlotCategoryName>sample string 2</TimeSlotCategoryName>
  <isActive>true</isActive>
</TimeSlotCategoryDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MobileReturnOject
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Obj

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Obj": {}
}

application/xml, text/xml

Sample:
<MobileReturnOject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TLTApp.Services">
  <Message>sample string 1</Message>
  <Obj />
  <Status>true</Status>
</MobileReturnOject>