POST Api/MyAccounts/AddAccount
Request Information
URI Parameters
None.
Body Parameters
AddAccountRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BillType | string |
None. |
|
| AccountNumber | string |
None. |
|
| AccountDescription | string |
None. |
|
| BillIdentifierTypeID | globally unique identifier |
None. |
|
| BillIdentifierFormatTypeID | globally unique identifier |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
|
| DeviceManufacturer | string |
None. |
|
| DeviceModel | string |
None. |
|
| DeviceSDKInt | string |
None. |
|
| DeviceSDKVersion | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BillType": "sample string 1",
"AccountNumber": "sample string 2",
"AccountDescription": "sample string 3",
"BillIdentifierTypeID": "43817619-b22d-4e21-b152-cc247e2cf6aa",
"BillIdentifierFormatTypeID": "6c082210-1970-457d-9532-9ecf9ff5b592",
"Username": "sample string 6",
"Password": "sample string 7",
"DeviceManufacturer": "sample string 8",
"DeviceModel": "sample string 9",
"DeviceSDKInt": "sample string 10",
"DeviceSDKVersion": "sample string 11"
}
application/xml, text/xml
Sample:
<AddAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models"> <DeviceManufacturer>sample string 8</DeviceManufacturer> <DeviceModel>sample string 9</DeviceModel> <DeviceSDKInt>sample string 10</DeviceSDKInt> <DeviceSDKVersion>sample string 11</DeviceSDKVersion> <Password>sample string 7</Password> <Username>sample string 6</Username> <AccountDescription>sample string 3</AccountDescription> <AccountNumber>sample string 2</AccountNumber> <BillIdentifierFormatTypeID>6c082210-1970-457d-9532-9ecf9ff5b592</BillIdentifierFormatTypeID> <BillIdentifierTypeID>43817619-b22d-4e21-b152-cc247e2cf6aa</BillIdentifierTypeID> <BillType>sample string 1</BillType> </AddAccountRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AddAccountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ServerDateTime | string |
None. |
|
| ErrorType | Errors |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": "sample string 2",
"ServerDateTime": "sample string 3",
"ErrorType": 0
}
application/xml, text/xml
Sample:
<AddAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models"> <ErrorMessage>sample string 2</ErrorMessage> <ErrorType>SystemError</ErrorType> <ServerDateTime>sample string 3</ServerDateTime> <Success>true</Success> </AddAccountResponse>