POST api/bap/usersbycustomercode
Request Information
URI Parameters
None.
Body Parameters
GetUsersByCustomerCodeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerCode | string |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerCode": "sample string 1",
"Username": "sample string 2",
"Password": "sample string 3"
}
application/xml, text/xml
Sample:
<GetUsersByCustomerCodeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model"> <Password xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 3</Password> <Username xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 2</Username> <CustomerCode>sample string 1</CustomerCode> </GetUsersByCustomerCodeInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetUsersByCustomerCodeResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of UsersByCustomerCodeInfo |
None. |
|
| ProcessErrorType | integer |
None. |
|
| ProcessErrorDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"UserID": "283ac3d2-4873-499f-8d04-80c797591cc7",
"Username": "sample string 2",
"FullName": "sample string 3",
"VehiclePlate": "sample string 4"
},
{
"UserID": "283ac3d2-4873-499f-8d04-80c797591cc7",
"Username": "sample string 2",
"FullName": "sample string 3",
"VehiclePlate": "sample string 4"
}
],
"ProcessErrorType": 1,
"ProcessErrorDescription": "sample string 2"
}
application/xml, text/xml
Sample:
<GetUsersByCustomerCodeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
<ProcessErrorDescription xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 2</ProcessErrorDescription>
<ProcessErrorType xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">1</ProcessErrorType>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataAccess.Entities.BAP">
<d2p1:UsersByCustomerCodeInfo>
<d2p1:FullName>sample string 3</d2p1:FullName>
<d2p1:UserID>283ac3d2-4873-499f-8d04-80c797591cc7</d2p1:UserID>
<d2p1:Username>sample string 2</d2p1:Username>
<d2p1:VehiclePlate>sample string 4</d2p1:VehiclePlate>
</d2p1:UsersByCustomerCodeInfo>
<d2p1:UsersByCustomerCodeInfo>
<d2p1:FullName>sample string 3</d2p1:FullName>
<d2p1:UserID>283ac3d2-4873-499f-8d04-80c797591cc7</d2p1:UserID>
<d2p1:Username>sample string 2</d2p1:Username>
<d2p1:VehiclePlate>sample string 4</d2p1:VehiclePlate>
</d2p1:UsersByCustomerCodeInfo>
</Data>
</GetUsersByCustomerCodeResult>