POS365.VN APIs

<back to all web services

FireBaseUpdate

Requires Authentication
The following routes are available for this service:
POST/api/firebase/update
FireBaseUpdate Parameters:
NameParameterData TypeRequiredDescription
RoomIdbodylongNo
PositionbodystringNo
VersionbodylongNo
CompressbodyboolNo
JsonContentbodystringNo
FireBaseResult Parameters:
NameParameterData TypeRequiredDescription
codeformstringNo
messageformstringNo
dataformRoomStorageNo
RoomStorage Parameters:
NameParameterData TypeRequiredDescription
RowKeyformstringNo
PartitionKeyformstringNo
RoomIdformlongNo
PositionformstringNo
VersionformlongNo
CompressformboolNo
JsonContentformstringNo
ETagformstringNo
TimestampformDateTimeOffsetNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/firebase/update HTTP/1.1 
Host: api.pos365.vn 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<FireBaseUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.Services">
  <Compress>false</Compress>
  <JsonContent>String</JsonContent>
  <Position>String</Position>
  <RoomId>0</RoomId>
  <Version>0</Version>
</FireBaseUpdate>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<FireBaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.Services">
  <code>String</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.Data">
    <d2p1:Compress>false</d2p1:Compress>
    <d2p1:ETag>String</d2p1:ETag>
    <d2p1:JsonContent>String</d2p1:JsonContent>
    <d2p1:PartitionKey>String</d2p1:PartitionKey>
    <d2p1:Position>String</d2p1:Position>
    <d2p1:RoomId>0</d2p1:RoomId>
    <d2p1:RowKey>String</d2p1:RowKey>
    <d2p1:Timestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </d2p1:Timestamp>
    <d2p1:Version>0</d2p1:Version>
  </data>
  <message>String</message>
</FireBaseResult>