POST api/AttendanceAndTimesheet/CRMCRUDClosure
Request Information
URI Parameters
None.
Body Parameters
InsertCustomerClosureEntityName | Description | Type | Additional information |
---|---|---|---|
CustomerID | integer |
None. |
|
UserId | integer |
None. |
|
ClosureID | integer |
None. |
|
Payment | integer |
None. |
|
Tax | integer |
None. |
|
ClosureTitle | integer |
None. |
|
Token | string |
None. |
|
Type | integer |
None. |
|
ClosureDate | string |
None. |
|
Remarks | string |
None. |
|
PONo | string |
None. |
|
FileName | string |
None. |
|
LoginUserName | string |
None. |
|
ClosureType | string |
None. |
|
Amount | decimal number |
None. |
|
CurrenyType | string |
None. |
|
Attachment | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerID": 1, "UserId": 2, "ClosureID": 3, "Payment": 4, "Tax": 5, "ClosureTitle": 6, "Token": "sample string 7", "Type": 8, "ClosureDate": "sample string 9", "Remarks": "sample string 10", "PONo": "sample string 11", "FileName": "sample string 12", "LoginUserName": "sample string 13", "ClosureType": "sample string 14", "Amount": 15.0, "CurrenyType": "sample string 16", "Attachment": "QEA=" }
text/html
Sample:
{"CustomerID":1,"UserId":2,"ClosureID":3,"Payment":4,"Tax":5,"ClosureTitle":6,"Token":"sample string 7","Type":8,"ClosureDate":"sample string 9","Remarks":"sample string 10","PONo":"sample string 11","FileName":"sample string 12","LoginUserName":"sample string 13","ClosureType":"sample string 14","Amount":15.0,"CurrenyType":"sample string 16","Attachment":"QEA="}
application/xml, text/xml
Sample:
<AttendanceAndTimesheetController.InsertCustomerClosureEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers"> <Amount>15</Amount> <Attachment>QEA=</Attachment> <ClosureDate>sample string 9</ClosureDate> <ClosureID>3</ClosureID> <ClosureTitle>6</ClosureTitle> <ClosureType>sample string 14</ClosureType> <CurrenyType>sample string 16</CurrenyType> <CustomerID>1</CustomerID> <FileName>sample string 12</FileName> <LoginUserName>sample string 13</LoginUserName> <PONo>sample string 11</PONo> <Payment>4</Payment> <Remarks>sample string 10</Remarks> <Tax>5</Tax> <Token>sample string 7</Token> <Type>8</Type> <UserId>2</UserId> </AttendanceAndTimesheetController.InsertCustomerClosureEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Dictionary of Object [key] and Object [value]Response Formats
application/json, text/json, text/html
Sample:
{"System.Object":{},"System.Object":{}}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> <KeyValueOfanyTypeanyType> <Key /> <Value /> </KeyValueOfanyTypeanyType> </ArrayOfKeyValueOfanyTypeanyType>