GET | /api/mobile/branchs |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/mobile/branchs HTTP/1.1 Host: api.pos365.vn Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.Data"> <Branch> <Address>String</Address> <CreatedBy>0</CreatedBy> <CreatedDate>0001-01-01T00:00:00</CreatedDate> <Email>String</Email> <ExpiryDate>0001-01-01T00:00:00</ExpiryDate> <FieldId>0</FieldId> <Id>0</Id> <IsOnline>false</IsOnline> <ModifiedBy>0</ModifiedBy> <ModifiedDate>0001-01-01T00:00:00</ModifiedDate> <Name>String</Name> <ObjectAccesses i:nil="true" /> <Phone>String</Phone> <PreOrderCode>String</PreOrderCode> <PreProductCode>String</PreProductCode> <PrintTemplates i:nil="true" /> <RetailerId>0</RetailerId> <TransferFromBranches i:nil="true" /> <TransferToBranches i:nil="true" /> </Branch> </ArrayOfBranch>