POST VacationApproved/DeleteRequest/{requestID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
requestID

integer

Required

Body Parameters

UserConnectedInfo
NameDescriptionTypeAdditional information
EmployeeConnectedID

integer

None.

UserConnectedID

integer

None.

UserConnectedName

string

None.

UserConnectedAzureID

string

None.

UserRole

string

None.

UserEmail

string

None.

IsEmployee

boolean

None.

CostUnit

string

None.

ListUserRoles

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeConnectedID": 1,
  "UserConnectedID": 2,
  "UserConnectedName": "sample string 3",
  "UserConnectedAzureID": "sample string 4",
  "UserRole": "sample string 5",
  "UserEmail": "sample string 6",
  "IsEmployee": true,
  "CostUnit": "sample string 8",
  "ListUserRoles": "sample string 9"
}

application/xml, text/xml

Sample:
<UserConnectedInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CubesApi.Classes">
  <CostUnit>sample string 8</CostUnit>
  <EmployeeConnectedID>1</EmployeeConnectedID>
  <IsEmployee>true</IsEmployee>
  <ListUserRoles>sample string 9</ListUserRoles>
  <UserConnectedAzureID>sample string 4</UserConnectedAzureID>
  <UserConnectedID>2</UserConnectedID>
  <UserConnectedName>sample string 3</UserConnectedName>
  <UserEmail>sample string 6</UserEmail>
  <UserRole>sample string 5</UserRole>
</UserConnectedInfo>

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

Response Information

Resource Description

MsgResponse
NameDescriptionTypeAdditional information
Message

string

None.

IsSaved

boolean

None.

SavedID

integer

None.

Label

string

None.

TableHTML

string

None.

listJsonTableRows

string

None.

ListTableRows

Collection of Object

None.

ListDDLItems

None.

Response Formats

application/json, text/json

Sample:
{
  "ListDDLItems": [
    {
      "ID": "sample string 1",
      "Label": "sample string 2"
    },
    {
      "ID": "sample string 1",
      "Label": "sample string 2"
    }
  ],
  "Message": "sample string 1",
  "IsSaved": true,
  "SavedID": 3,
  "Label": "sample string 4",
  "TableHTML": "sample string 5",
  "listJsonTableRows": "sample string 6",
  "ListTableRows": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<MsgResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CubesApi.Classes">
  <IsSaved>true</IsSaved>
  <Label>sample string 4</Label>
  <ListDDLItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/AGS.Model">
    <d2p1:ItemIDLabel>
      <d2p1:ID>sample string 1</d2p1:ID>
      <d2p1:Label>sample string 2</d2p1:Label>
    </d2p1:ItemIDLabel>
    <d2p1:ItemIDLabel>
      <d2p1:ID>sample string 1</d2p1:ID>
      <d2p1:Label>sample string 2</d2p1:Label>
    </d2p1:ItemIDLabel>
  </ListDDLItems>
  <ListTableRows xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ListTableRows>
  <Message>sample string 1</Message>
  <SavedID>3</SavedID>
  <TableHTML>sample string 5</TableHTML>
  <listJsonTableRows>sample string 6</listJsonTableRows>
</MsgResponse>