POST api/AccomodationClaim/InsertAccomodationClaim

Request Information

URI Parameters

None.

Body Parameters

InsertAccomodationClaimDTO
NameDescriptionTypeAdditional information
TravelDate

date

Required

Location

integer

Required

NoOfDays

integer

Required

amount

decimal number

Required

Remarks

string

Required

WBS

integer

Required

empId

string

Required

week

string

Required

TaxAmt

decimal number

Required

GSTIncluded

boolean

Required

InvoiceNo

string

Required

GSTN

string

Required

CGSTAmt

decimal number

Required

SGSTAmt

decimal number

Required

IGSTAmt

decimal number

Required

intTypeOfVisit

integer

Required

TravelDateTo

date

Required

OtherFromCity

string

Required

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "TravelDate": "2021-12-08T23:34:42.5435774+05:30",
  "Location": 2,
  "NoOfDays": 3,
  "amount": 4.0,
  "Remarks": "sample string 5",
  "WBS": 6,
  "empId": "sample string 7",
  "week": "sample string 8",
  "TaxAmt": 9.0,
  "GSTIncluded": true,
  "InvoiceNo": "sample string 11",
  "GSTN": "sample string 12",
  "CGSTAmt": 13.0,
  "SGSTAmt": 14.0,
  "IGSTAmt": 15.0,
  "intTypeOfVisit": 16,
  "TravelDateTo": "2021-12-08T23:34:42.5435774+05:30",
  "OtherFromCity": "sample string 18",
  "Domain": "sample string 19"
}

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

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}