POST
http://appapi.sunhouse.com.vn/api/KTV/SaveNumberReturn?loginUser={loginUser}

Thực hiện lưu phiếu trả xác

Yêu cầu

URI Parameters

NameDescriptionTypeAdditional information
loginUser

string

Required

Body Parameters

Collection of KTV_GetAllItemReturn_ViewModel
NameDescriptionTypeAdditional information
Id

string

None.

ProcessId

string

None.

WarrantyNumber

string

None.

RequestNumber

string

None.

ReturnNumber

string

None.

ItemCode

string

None.

ItemCodeReturn

string

None.

ItemName

string

None.

ApprovalBy

string

None.

ActionDate

date

None.

Quantity

integer

None.

RequestQuantity

integer

None.

ReceiveQuantity

integer

None.

QuantityReturn

integer

None.

ReplaceNote

string

None.

TypeItemCode

string

None.

NoteReturn

string

None.

strActionDate

string

None.

IsReturnColor

string

None.

strTypeItemCode

string

None.

Display

string

None.

WPReplacePartId

string

None.

MasterNote

string

None.

CostCenter

string

None.

TypeOrdRMA

string

None.

RequestStatus

string

None.

strStatus

string

None.

ordernr

string

None.

RequestDate

date

None.

strRequestDate

string

None.

IsShow

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "ProcessId": "sample string 2",
    "WarrantyNumber": "sample string 3",
    "RequestNumber": "sample string 4",
    "ReturnNumber": "sample string 5",
    "ItemCode": "sample string 6",
    "ItemCodeReturn": "sample string 7",
    "ItemName": "sample string 8",
    "ApprovalBy": "sample string 9",
    "ActionDate": "2024-10-30T19:11:47.5405605+07:00",
    "Quantity": 11,
    "RequestQuantity": 12,
    "ReceiveQuantity": 13,
    "QuantityReturn": 14,
    "ReplaceNote": "sample string 15",
    "TypeItemCode": "sample string 16",
    "NoteReturn": "sample string 17",
    "strActionDate": "30/10/2024",
    "IsReturnColor": "sample string 18",
    "strTypeItemCode": "Không cần trả xác",
    "Display": "none",
    "WPReplacePartId": "sample string 19",
    "MasterNote": "sample string 20",
    "CostCenter": "sample string 21",
    "TypeOrdRMA": "sample string 22",
    "RequestStatus": "sample string 23",
    "strStatus": "",
    "ordernr": "sample string 24",
    "RequestDate": "2024-10-30T19:11:47.5405605+07:00",
    "strRequestDate": "30/10/2024",
    "IsShow": "hidden"
  },
  {
    "Id": "sample string 1",
    "ProcessId": "sample string 2",
    "WarrantyNumber": "sample string 3",
    "RequestNumber": "sample string 4",
    "ReturnNumber": "sample string 5",
    "ItemCode": "sample string 6",
    "ItemCodeReturn": "sample string 7",
    "ItemName": "sample string 8",
    "ApprovalBy": "sample string 9",
    "ActionDate": "2024-10-30T19:11:47.5405605+07:00",
    "Quantity": 11,
    "RequestQuantity": 12,
    "ReceiveQuantity": 13,
    "QuantityReturn": 14,
    "ReplaceNote": "sample string 15",
    "TypeItemCode": "sample string 16",
    "NoteReturn": "sample string 17",
    "strActionDate": "30/10/2024",
    "IsReturnColor": "sample string 18",
    "strTypeItemCode": "Không cần trả xác",
    "Display": "none",
    "WPReplacePartId": "sample string 19",
    "MasterNote": "sample string 20",
    "CostCenter": "sample string 21",
    "TypeOrdRMA": "sample string 22",
    "RequestStatus": "sample string 23",
    "strStatus": "",
    "ordernr": "sample string 24",
    "RequestDate": "2024-10-30T19:11:47.5405605+07:00",
    "strRequestDate": "30/10/2024",
    "IsShow": "hidden"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKTV_GetAllItemReturn_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.KTVBH.Models">
  <KTV_GetAllItemReturn_ViewModel>
    <ActionDate>2024-10-30T19:11:47.5405605+07:00</ActionDate>
    <ApprovalBy>sample string 9</ApprovalBy>
    <CostCenter>sample string 21</CostCenter>
    <Id>sample string 1</Id>
    <IsReturnColor>sample string 18</IsReturnColor>
    <ItemCode>sample string 6</ItemCode>
    <ItemCodeReturn>sample string 7</ItemCodeReturn>
    <ItemName>sample string 8</ItemName>
    <MasterNote>sample string 20</MasterNote>
    <NoteReturn>sample string 17</NoteReturn>
    <ProcessId>sample string 2</ProcessId>
    <Quantity>11</Quantity>
    <QuantityReturn>14</QuantityReturn>
    <ReceiveQuantity>13</ReceiveQuantity>
    <ReplaceNote>sample string 15</ReplaceNote>
    <RequestDate>2024-10-30T19:11:47.5405605+07:00</RequestDate>
    <RequestNumber>sample string 4</RequestNumber>
    <RequestQuantity>12</RequestQuantity>
    <RequestStatus>sample string 23</RequestStatus>
    <ReturnNumber>sample string 5</ReturnNumber>
    <TypeItemCode>sample string 16</TypeItemCode>
    <TypeOrdRMA>sample string 22</TypeOrdRMA>
    <WPReplacePartId>sample string 19</WPReplacePartId>
    <WarrantyNumber>sample string 3</WarrantyNumber>
    <ordernr>sample string 24</ordernr>
  </KTV_GetAllItemReturn_ViewModel>
  <KTV_GetAllItemReturn_ViewModel>
    <ActionDate>2024-10-30T19:11:47.5405605+07:00</ActionDate>
    <ApprovalBy>sample string 9</ApprovalBy>
    <CostCenter>sample string 21</CostCenter>
    <Id>sample string 1</Id>
    <IsReturnColor>sample string 18</IsReturnColor>
    <ItemCode>sample string 6</ItemCode>
    <ItemCodeReturn>sample string 7</ItemCodeReturn>
    <ItemName>sample string 8</ItemName>
    <MasterNote>sample string 20</MasterNote>
    <NoteReturn>sample string 17</NoteReturn>
    <ProcessId>sample string 2</ProcessId>
    <Quantity>11</Quantity>
    <QuantityReturn>14</QuantityReturn>
    <ReceiveQuantity>13</ReceiveQuantity>
    <ReplaceNote>sample string 15</ReplaceNote>
    <RequestDate>2024-10-30T19:11:47.5405605+07:00</RequestDate>
    <RequestNumber>sample string 4</RequestNumber>
    <RequestQuantity>12</RequestQuantity>
    <RequestStatus>sample string 23</RequestStatus>
    <ReturnNumber>sample string 5</ReturnNumber>
    <TypeItemCode>sample string 16</TypeItemCode>
    <TypeOrdRMA>sample string 22</TypeOrdRMA>
    <WPReplacePartId>sample string 19</WPReplacePartId>
    <WarrantyNumber>sample string 3</WarrantyNumber>
    <ordernr>sample string 24</ordernr>
  </KTV_GetAllItemReturn_ViewModel>
</ArrayOfKTV_GetAllItemReturn_ViewModel>

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 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.