POST API/Assigntopettycash/Delete

Request Information

URI Parameters

None.

Body Parameters

AssignToPettycash
NameDescriptionTypeAdditional information
HotelName

string

None.

HotelId

integer

None.

UserName

string

None.

UserId

integer

None.

UserType

string

None.

Sendback

string

None.

Id

integer

None.

UsrId

integer

None.

HotelType

string

None.

AssignedDetails

Collection of AssignedDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "HotelName": "sample string 1",
  "HotelId": 2,
  "UserName": "sample string 3",
  "UserId": 4,
  "UserType": "sample string 5",
  "Sendback": "sample string 6",
  "Id": 7,
  "UsrId": 8,
  "HotelType": "sample string 9",
  "AssignedDetails": [
    {
      "HotelName": "sample string 1",
      "HotelId": 2,
      "UserName": "sample string 3",
      "UserId": 4,
      "UserType": "sample string 5",
      "Sendback": "sample string 6",
      "Id": 7,
      "UsrId": 8
    },
    {
      "HotelName": "sample string 1",
      "HotelId": 2,
      "UserName": "sample string 3",
      "UserId": 4,
      "UserType": "sample string 5",
      "Sendback": "sample string 6",
      "Id": 7,
      "UsrId": 8
    }
  ]
}

application/xml, text/xml

Sample:
<AssignToPettycash xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <AssignedDetails>
    <AssignedDetails>
      <HotelId>2</HotelId>
      <HotelName>sample string 1</HotelName>
      <Id>7</Id>
      <Sendback>sample string 6</Sendback>
      <UserId>4</UserId>
      <UserName>sample string 3</UserName>
      <UserType>sample string 5</UserType>
      <UsrId>8</UsrId>
    </AssignedDetails>
    <AssignedDetails>
      <HotelId>2</HotelId>
      <HotelName>sample string 1</HotelName>
      <Id>7</Id>
      <Sendback>sample string 6</Sendback>
      <UserId>4</UserId>
      <UserName>sample string 3</UserName>
      <UserType>sample string 5</UserType>
      <UsrId>8</UsrId>
    </AssignedDetails>
  </AssignedDetails>
  <HotelId>2</HotelId>
  <HotelName>sample string 1</HotelName>
  <HotelType>sample string 9</HotelType>
  <Id>7</Id>
  <Sendback>sample string 6</Sendback>
  <UserId>4</UserId>
  <UserName>sample string 3</UserName>
  <UserType>sample string 5</UserType>
  <UsrId>8</UsrId>
</AssignToPettycash>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.