None.
Name | Description | Type | Additional information |
---|---|---|---|
ProdId | integer |
None. |
|
ApId | integer |
None. |
|
SerialNumbers | Collection of string |
None. |
|
BillType | BillType |
None. |
|
BillId | integer |
None. |
{ "ProdId": 1, "ApId": 2, "SerialNumbers": [ "sample string 1", "sample string 2" ], "BillType": 1010, "BillId": 3 }
<SerialNumberValidationParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Validation.Models"> <ApId>2</ApId> <BillId>3</BillId> <BillType>Purchase</BillType> <ProdId>1</ProdId> <SerialNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </SerialNumbers> </SerialNumberValidationParam>
Sample not available.
Name | Description | Type | Additional information |
---|---|---|---|
StatusCode | HttpStatusCode |
None. |
|
BusinessCode | integer |
None. |
|
Data | SerialNumberValidationResultModel |
None. |
|
Success | boolean |
None. |
|
Message | string |
None. |
|
ErrorData | Object |
None. |
{ "StatusCode": 100, "BusinessCode": 1, "Data": { "IsSuccess": false, "Items": [ { "RowIndex": 1, "SerialNumber": "sample string 2", "Message": "sample string 3" }, { "RowIndex": 1, "SerialNumber": "sample string 2", "Message": "sample string 3" } ] }, "Success": true, "Message": "sample string 3", "ErrorData": {} }
<ApiResultModelOfSerialNumberValidationResultModel_PsLyv2vB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models"> <BusinessCode>1</BusinessCode> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.Shared.Validation"> <d2p1:Items> <d2p1:SerialNumberValidationItem> <d2p1:Message>sample string 3</d2p1:Message> <d2p1:RowIndex>1</d2p1:RowIndex> <d2p1:SerialNumber>sample string 2</d2p1:SerialNumber> </d2p1:SerialNumberValidationItem> <d2p1:SerialNumberValidationItem> <d2p1:Message>sample string 3</d2p1:Message> <d2p1:RowIndex>1</d2p1:RowIndex> <d2p1:SerialNumber>sample string 2</d2p1:SerialNumber> </d2p1:SerialNumberValidationItem> </d2p1:Items> </Data> <ErrorData /> <Message>sample string 3</Message> <StatusCode>Continue</StatusCode> <Success>true</Success> </ApiResultModelOfSerialNumberValidationResultModel_PsLyv2vB>