GET user/getmachineserialnos?UserDetailId={UserDetailId}&MachineId={MachineId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserDetailId | integer |
Required |
|
| MachineId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseSerialNoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| MachineSerialNo | Collection of MachineName |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"MachineSerialNo": [
{
"MachineSerialNoId": 1,
"Name": "sample string 2"
},
{
"MachineSerialNoId": 1,
"Name": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ResponseSerialNoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models.ComplexTypes">
<MachineSerialNo>
<MachineName>
<MachineSerialNoId>1</MachineSerialNoId>
<Name>sample string 2</Name>
</MachineName>
<MachineName>
<MachineSerialNoId>1</MachineSerialNoId>
<Name>sample string 2</Name>
</MachineName>
</MachineSerialNo>
<Message>sample string 2</Message>
<Success>true</Success>
</ResponseSerialNoModel>