Professional Documents
Culture Documents
Message Format
Messages may vary in length. Each message starts with a 1 identifying character
field to identify the message type (the characters are cases sensitive), followed by 0
or more relevant data. Each part or field of the message is separated from one
another by a tab character.
There are ten valid message types. Their format and use is described below:
Identifying Data
Character
This message indicates the transmission of Account ID, Password, Customer Name,
Email, and Contact Number to the server for new customer registration.
8 40 characters 10 18 characters
This message is used to transfer Email and password in order to authenticate login
credential to the server.
View W
Walks
List
Request
View WD Walk ID
Walk
Date 5 characters
Request
This message is to query the list of date of walks using Walk ID.
View WT Walk ID
Walk
Time 5 characters
Request
This message is to query the list of time of walks using Walk ID.
View WP Walk ID
Walk
Price 5 characters
Request
This message is to query the list of price of walks using Walk ID.
View WG Walk ID
Walk
Guide 5 characters
Request
This message is to query the list of guide of walks using Walk ID.
View WL Walk ID
Walk
Location 5 characters
Request
This message is to query the list of location of walks using Walk ID.
This message is to place a booking on walks with the specific Walk ID and Date.
Logout O
Identifying Data
Character
Positive +
ACK
Login
Logout
Place Booking Request
Error code:
A set of variable list of walks including walk ID, location, date, time, price, and guide per
walk ending with \n as next line for the View Walk List Request (W).
View WDR Walk id \t date \n
Walk
Date
Reply Walk id \t date \n
5 chars Date/time
A set of variable list of walk (walk ID and date) for the View Walk Date Request (WD).
5 chars Date/time
A set of variable list of walk (walk ID and time) for the View Walk Time Request (WT).
5 chars 1 4 digits
A set of variable list of walk (walk ID and price) for the View Walk Price Request (WP).
View WGR Walk id \t guide \n
Walk
Guide
Reply Walk id \t guide \n
A set of variable list of walk (walk ID and guide) for the View Walk Guide Request (WG).
A set of variable list of walk (walk ID and location) for the View Walk Location Request
(WL).