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

Lưu phiếu trả linh kiện chưa sử dụng

Yêu cầu

URI Parameters

NameDescriptionTypeAdditional information
loginUser

string

Required

Body Parameters

Collection of ReturnNewItems_ViewModel
NameDescriptionTypeAdditional information
ItemCode

string

None.

ItemName

string

None.

totalReceiveQuantity

integer

None.

RequestNumber

string

None.

TotalRequestQuantityOfBill

integer

None.

strRequestDate

string

None.

strStatus

string

None.

RequestStatus

string

None.

RequestDate

date

None.

RequestQuantity

integer

None.

RequestBy

string

None.

ordernr

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ItemCode": "sample string 1",
    "ItemName": "sample string 2",
    "totalReceiveQuantity": 3,
    "RequestNumber": "sample string 4",
    "TotalRequestQuantityOfBill": 5,
    "strRequestDate": "30-10-2024",
    "strStatus": null,
    "RequestStatus": "sample string 6",
    "RequestDate": "2024-10-30T19:15:25.6125242+07:00",
    "RequestQuantity": 8,
    "RequestBy": "sample string 9",
    "ordernr": "sample string 10"
  },
  {
    "ItemCode": "sample string 1",
    "ItemName": "sample string 2",
    "totalReceiveQuantity": 3,
    "RequestNumber": "sample string 4",
    "TotalRequestQuantityOfBill": 5,
    "strRequestDate": "30-10-2024",
    "strStatus": null,
    "RequestStatus": "sample string 6",
    "RequestDate": "2024-10-30T19:15:25.6125242+07:00",
    "RequestQuantity": 8,
    "RequestBy": "sample string 9",
    "ordernr": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReturnNewItems_ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SH.KTVBH.Models">
  <ReturnNewItems_ViewModel>
    <ItemCode>sample string 1</ItemCode>
    <ItemName>sample string 2</ItemName>
    <RequestBy>sample string 9</RequestBy>
    <RequestDate>2024-10-30T19:15:25.6125242+07:00</RequestDate>
    <RequestNumber>sample string 4</RequestNumber>
    <RequestQuantity>8</RequestQuantity>
    <RequestStatus>sample string 6</RequestStatus>
    <TotalRequestQuantityOfBill>5</TotalRequestQuantityOfBill>
    <ordernr>sample string 10</ordernr>
    <totalReceiveQuantity>3</totalReceiveQuantity>
  </ReturnNewItems_ViewModel>
  <ReturnNewItems_ViewModel>
    <ItemCode>sample string 1</ItemCode>
    <ItemName>sample string 2</ItemName>
    <RequestBy>sample string 9</RequestBy>
    <RequestDate>2024-10-30T19:15:25.6125242+07:00</RequestDate>
    <RequestNumber>sample string 4</RequestNumber>
    <RequestQuantity>8</RequestQuantity>
    <RequestStatus>sample string 6</RequestStatus>
    <TotalRequestQuantityOfBill>5</TotalRequestQuantityOfBill>
    <ordernr>sample string 10</ordernr>
    <totalReceiveQuantity>3</totalReceiveQuantity>
  </ReturnNewItems_ViewModel>
</ArrayOfReturnNewItems_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.