POST api/usercode/Save

Request Information

URI Parameters

None.

Body Parameters

SaveUserCode
NameDescriptionTypeAdditional information
UserCodes

Collection of UserCode

None.

UserInfo

UserInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "UserCodes": [
    {
      "Account": "sample string 1",
      "PanelUserNo": 2,
      "Description": "sample string 3",
      "Type": 4,
      "Code": "sample string 5",
      "Scheduled": 6
    },
    {
      "Account": "sample string 1",
      "PanelUserNo": 2,
      "Description": "sample string 3",
      "Type": 4,
      "Code": "sample string 5",
      "Scheduled": 6
    }
  ],
  "UserInfo": {
    "UserName": "sample string 1",
    "Password": "sample string 2",
    "Mac": "sample string 3",
    "ICCID": "sample string 4",
    "IsIpPath": true,
    "IsRadioPath": true,
    "RadioIP": "sample string 7",
    "SessionId": "sample string 8",
    "Account": "sample string 9"
  }
}

application/xml, text/xml

Sample:
<SaveUserCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiiSecureWebAPI.Model">
  <UserCodes>
    <UserCode>
      <Account>sample string 1</Account>
      <Code>sample string 5</Code>
      <Description>sample string 3</Description>
      <PanelUserNo>2</PanelUserNo>
      <Scheduled>6</Scheduled>
      <Type>4</Type>
    </UserCode>
    <UserCode>
      <Account>sample string 1</Account>
      <Code>sample string 5</Code>
      <Description>sample string 3</Description>
      <PanelUserNo>2</PanelUserNo>
      <Scheduled>6</Scheduled>
      <Type>4</Type>
    </UserCode>
  </UserCodes>
  <UserInfo>
    <Account>sample string 9</Account>
    <ICCID>sample string 4</ICCID>
    <IsIpPath>true</IsIpPath>
    <IsRadioPath>true</IsRadioPath>
    <Mac>sample string 3</Mac>
    <Password>sample string 2</Password>
    <RadioIP>sample string 7</RadioIP>
    <SessionId>sample string 8</SessionId>
    <UserName>sample string 1</UserName>
  </UserInfo>
</SaveUserCode>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />