POST
http://appapi.sunhouse.com.vn/api/TicketAPI/SaveTicket?userLogin={userLogin}
Yêu cầu
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userLogin | string |
Required |
Body Parameters
SupportTicket_ViewModelName | Description | Type | Additional information |
---|---|---|---|
totalRequestProcess | decimal number |
None. |
|
totalScore | decimal number |
None. |
|
totalRequest | decimal number |
None. |
|
Id | globally unique identifier |
None. |
|
RequestNumber | string |
None. |
|
IsDelete | boolean |
None. |
|
Status | string |
None. |
|
strStatus | string |
None. |
|
NeedDate | date |
None. |
|
ToJobTitle | string |
None. |
|
ToCostCenter | string |
None. |
|
TypeSupport | string |
None. |
|
strIsOnTimeSupport | string |
None. |
|
strTypeSupport | string |
None. |
|
FullName | string |
None. |
|
FullNameProcess | string |
None. |
|
UserName | string |
None. |
|
CostCenter | string |
None. |
|
Title | string |
None. |
|
Note | string |
None. |
|
Details | string |
None. |
|
TypeError | string |
None. |
|
ErrorName | string |
None. |
|
SolutionType | string |
None. |
|
SolutionName | string |
None. |
|
strHourProcess | decimal number |
None. |
|
strStartDate | string |
None. |
|
strNeedDate | string |
None. |
|
strEndDate | string |
None. |
|
IsProcessPermission | boolean |
None. |
|
UserProcess | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
MaxHourProcess | decimal number |
None. |
|
IsOnTimeSupport | boolean |
None. |
|
Active | boolean |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | date |
None. |
|
Region | string |
None. |
|
ModifyBy | string |
None. |
|
ModifyDate | date |
None. |
|
SystemNote | string |
None. |
|
IsAttach | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "totalRequestProcess": 1.1, "totalScore": 2.1, "totalRequest": 3.1, "Id": "d30bf538-d756-4e1f-b8da-7590aaf147b5", "RequestNumber": "sample string 5", "IsDelete": true, "Status": "sample string 7", "strStatus": "", "NeedDate": "2024-10-30T19:11:10.258714+07:00", "ToJobTitle": "sample string 8", "ToCostCenter": "sample string 9", "TypeSupport": "sample string 10", "strIsOnTimeSupport": "PASS", "strTypeSupport": "", "FullName": "sample string 11", "FullNameProcess": "sample string 12", "UserName": "sample string 13", "CostCenter": "sample string 14", "Title": "sample string 15", "Note": "sample string 16", "Details": "sample string 17", "TypeError": "sample string 18", "ErrorName": "sample string 19", "SolutionType": "sample string 20", "SolutionName": "sample string 21", "strHourProcess": 0.0, "strStartDate": "30/10/2024 19:11:10", "strNeedDate": "30/10/2024", "strEndDate": "30/10/2024 19:11:10", "IsProcessPermission": true, "UserProcess": "sample string 23", "StartDate": "2024-10-30T19:11:10.2617153+07:00", "EndDate": "2024-10-30T19:11:10.2617153+07:00", "MaxHourProcess": 24.1, "IsOnTimeSupport": true, "Active": true, "CreatedBy": "sample string 25", "CreatedDate": "2024-10-30T19:11:10.2627156+07:00", "Region": "sample string 27", "ModifyBy": "sample string 28", "ModifyDate": "2024-10-30T19:11:10.2627156+07:00", "SystemNote": "sample string 29", "IsAttach": true }
application/xml, text/xml
Sample:
<SupportTicket_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.KPI.Bussiness.DapperModel"> <Active>true</Active> <CostCenter>sample string 14</CostCenter> <CreatedBy>sample string 25</CreatedBy> <CreatedDate>2024-10-30T19:11:10.2627156+07:00</CreatedDate> <Details>sample string 17</Details> <EndDate>2024-10-30T19:11:10.2617153+07:00</EndDate> <ErrorName>sample string 19</ErrorName> <FullName>sample string 11</FullName> <FullNameProcess>sample string 12</FullNameProcess> <Id>d30bf538-d756-4e1f-b8da-7590aaf147b5</Id> <IsAttach>true</IsAttach> <IsDelete>true</IsDelete> <IsOnTimeSupport>true</IsOnTimeSupport> <IsProcessPermission>true</IsProcessPermission> <MaxHourProcess>24.1</MaxHourProcess> <ModifyBy>sample string 28</ModifyBy> <ModifyDate>2024-10-30T19:11:10.2627156+07:00</ModifyDate> <NeedDate>2024-10-30T19:11:10.258714+07:00</NeedDate> <Note>sample string 16</Note> <Region>sample string 27</Region> <RequestNumber>sample string 5</RequestNumber> <SolutionName>sample string 21</SolutionName> <SolutionType>sample string 20</SolutionType> <StartDate>2024-10-30T19:11:10.2617153+07:00</StartDate> <Status>sample string 7</Status> <SystemNote>sample string 29</SystemNote> <Title>sample string 15</Title> <ToCostCenter>sample string 9</ToCostCenter> <ToJobTitle>sample string 8</ToJobTitle> <TypeError>sample string 18</TypeError> <TypeSupport>sample string 10</TypeSupport> <UserName>sample string 13</UserName> <UserProcess>sample string 23</UserProcess> <totalRequest>3.1</totalRequest> <totalRequestProcess>1.1</totalRequestProcess> <totalScore>2.1</totalScore> </SupportTicket_ViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |