ApexERPHost

<back to all web services

GetMenuForGlovo

The following routes are available for this service:
GET/Glovo/Products
GET/Glovo/Products/{GlovoBranchId}
GetMenuForGlovo Parameters:
NameParameterData TypeRequiredDescription
GlovoBranchIdpathintNo
GlovoCatalog Parameters:
NameParameterData TypeRequiredDescription
attributesformList<Attributes>No
attribute_groupsformList<AttributesGroups>No
productsformList<GlovoProducts>No
collectionsformList<Collections>No
supercollectionsformList<SuperCollections>No
Attributes Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
price_impactformstringNo
selected_by_defaultformboolNo
availableformboolNo
AttributesGroups Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
minformstringNo
maxformstringNo
collapseformboolNo
multiple_selectionformboolNo
attributesformList<string>No
GlovoProducts Parameters:
NameParameterData TypeRequiredDescription
idformstringNo
nameformstringNo
priceformstringNo
image_urlformstringNo
descriptionformstringNo
attributes_groupsformList<string>No
availableformboolNo
Collections Parameters:
NameParameterData TypeRequiredDescription
nameformstringNo
positionformstringNo
image_urlformstringNo
sectionsformList<Sections>No
Sections Parameters:
NameParameterData TypeRequiredDescription
nameformstringNo
positionformstringNo
productsformList<string>No
SuperCollections Parameters:
NameParameterData TypeRequiredDescription
nameformstringNo
positionformstringNo
image_urlformstringNo
collectionsformList<string>No

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.

GET /Glovo/Products HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GlovoCatalog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Glovo">
  <attributes>
    <Attributes>
      <id>String</id>
      <name>String</name>
      <price_impact>String</price_impact>
      <selected_by_default>false</selected_by_default>
      <available>false</available>
    </Attributes>
  </attributes>
  <attribute_groups>
    <AttributesGroups>
      <id>String</id>
      <name>String</name>
      <min>String</min>
      <max>String</max>
      <collapse>false</collapse>
      <multiple_selection>false</multiple_selection>
      <attributes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </attributes>
    </AttributesGroups>
  </attribute_groups>
  <products>
    <GlovoProducts>
      <id>String</id>
      <name>String</name>
      <price>String</price>
      <image_url>String</image_url>
      <description>String</description>
      <attributes_groups xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </attributes_groups>
      <available>false</available>
    </GlovoProducts>
  </products>
  <collections>
    <Collections>
      <name>String</name>
      <position>String</position>
      <image_url>String</image_url>
      <sections>
        <Sections>
          <name>String</name>
          <position>String</position>
          <products xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </products>
        </Sections>
      </sections>
    </Collections>
  </collections>
  <supercollections>
    <SuperCollections>
      <name>String</name>
      <position>String</position>
      <image_url>String</image_url>
      <collections xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </collections>
    </SuperCollections>
  </supercollections>
</GlovoCatalog>