POST user/adduserscheme
Request Information
URI Parameters
None.
Body Parameters
UserSchemeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MachineSerialNoId | integer |
None. |
|
| UserDetailId | integer |
None. |
|
| ServiceSchemeId | integer |
None. |
|
| UserSchemeStartDate | string |
None. |
|
| UserSchemeEndDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MachineSerialNoId": 1,
"UserDetailId": 2,
"ServiceSchemeId": 3,
"UserSchemeStartDate": "sample string 4",
"UserSchemeEndDate": "sample string 5"
}
application/xml, text/xml
Sample:
<UserSchemeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models.ComplexTypes"> <MachineSerialNoId>1</MachineSerialNoId> <ServiceSchemeId>3</ServiceSchemeId> <UserDetailId>2</UserDetailId> <UserSchemeEndDate>sample string 5</UserSchemeEndDate> <UserSchemeStartDate>sample string 4</UserSchemeStartDate> </UserSchemeModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<GenericResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models.ComplexTypes"> <Message>sample string 2</Message> <Success>true</Success> </GenericResponseModel>