POST api/ReimbursementType/AddType
Request Information
URI Parameters
None.
Body Parameters
RequestReimbursementTypeCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| TypeCode | string |
None. |
|
| TypeName | string |
None. |
|
| MaxPerClaim | decimal number |
None. |
|
| MaxPerMonth | decimal number |
None. |
|
| ReceiptRequired | boolean |
None. |
|
| BackdateLimitDays | integer |
None. |
|
| ApprovalLevels | integer |
None. |
|
| PayrollPaymentEnabled | boolean |
None. |
|
| ApplicabilityScope | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TypeCode": "sample string 1",
"TypeName": "sample string 2",
"MaxPerClaim": 1.0,
"MaxPerMonth": 1.0,
"ReceiptRequired": true,
"BackdateLimitDays": 4,
"ApprovalLevels": 5,
"PayrollPaymentEnabled": true,
"ApplicabilityScope": "sample string 7"
}
application/xml, text/xml
Sample:
<RequestReimbursementTypeCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RRCDR_Attendance_API.Helpers.Custom"> <ApplicabilityScope>sample string 7</ApplicabilityScope> <ApprovalLevels>5</ApprovalLevels> <BackdateLimitDays>4</BackdateLimitDays> <MaxPerClaim>1</MaxPerClaim> <MaxPerMonth>1</MaxPerMonth> <PayrollPaymentEnabled>true</PayrollPaymentEnabled> <ReceiptRequired>true</ReceiptRequired> <TypeCode>sample string 1</TypeCode> <TypeName>sample string 2</TypeName> </RequestReimbursementTypeCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />