GET api/WSAccount/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WebAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| CustomerContactId | integer |
None. |
|
| CustomerNumber |
Customer Number from AR_Customer table |
string |
None. |
| CustomerStatus | string |
None. |
|
| AccountName | string |
None. |
|
| ContactName | string |
None. |
|
| LastLogin | date |
None. |
|
| DateInactivated | date |
None. |
|
| InactivatedBy | string |
None. |
|
| Inactive | boolean |
None. |
|
| Branch | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| CustomerName | string |
None. |
|
| Address | string |
None. |
|
| BillingZipCode | string |
Data type: PostalCode |
|
| string |
None. |
||
| PhoneNumber | string |
Data type: PhoneNumber |
|
| PhoneExtension | string |
None. |
|
| MobileNumber | string |
Data type: PhoneNumber |
|
| FaxNumber | string |
Data type: PhoneNumber |
|
| MasterAccountID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"CustomerId": 2,
"CustomerContactId": 3,
"CustomerNumber": "sample string 4",
"CustomerStatus": "sample string 5",
"AccountName": "sample string 6",
"ContactName": "sample string 7",
"LastLogin": "2025-11-29T14:35:16.4725558-06:00",
"DateInactivated": "2025-11-29T14:35:16.4725558-06:00",
"InactivatedBy": "sample string 8",
"Inactive": true,
"Branch": "sample string 10",
"FirstName": "sample string 11",
"LastName": "sample string 12",
"CustomerName": "sample string 13",
"Address": "sample string 14",
"BillingZipCode": "sample string 15",
"Email": "sample string 16",
"PhoneNumber": "sample string 17",
"PhoneExtension": "sample string 18",
"MobileNumber": "sample string 19",
"FaxNumber": "sample string 20",
"MasterAccountID": 21
}
application/xml, text/xml
Sample:
<WebAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <AccountId>1</AccountId> <AccountName>sample string 6</AccountName> <Address>sample string 14</Address> <BillingZipCode>sample string 15</BillingZipCode> <Branch>sample string 10</Branch> <ContactName>sample string 7</ContactName> <CustomerContactId>3</CustomerContactId> <CustomerId>2</CustomerId> <CustomerName>sample string 13</CustomerName> <CustomerNumber>sample string 4</CustomerNumber> <CustomerStatus>sample string 5</CustomerStatus> <DateInactivated>2025-11-29T14:35:16.4725558-06:00</DateInactivated> <Email>sample string 16</Email> <FaxNumber>sample string 20</FaxNumber> <FirstName>sample string 11</FirstName> <InactivatedBy>sample string 8</InactivatedBy> <Inactive>true</Inactive> <LastLogin>2025-11-29T14:35:16.4725558-06:00</LastLogin> <LastName>sample string 12</LastName> <MasterAccountID>21</MasterAccountID> <MobileNumber>sample string 19</MobileNumber> <PhoneExtension>sample string 18</PhoneExtension> <PhoneNumber>sample string 17</PhoneNumber> </WebAccount>