سرویس های منو


گرفتن لیست منوها


http://livegalleria.ir/api/menu

no parameters

list menu: [{ public string PicLink { get; set; } public string Title { get; set; } public int Sort { get; set; } public string Content { get; set; } public ContentType Type { get; set; } public string Location { get; set; } public bool Show { get; set; } public DeviceType DeviceType { get; set; } }]

گرفتن یک منو


http://livegalleria.ir/api/menu/{id}

id menu

menu: { public string PicLink { get; set; } public string Title { get; set; } public int Sort { get; set; } public string Content { get; set; } public ContentType Type { get; set; } public string Location { get; set; } public bool Show { get; set; } public DeviceType DeviceType { get; set; } }

افزودن یک منو


http://livegalleria.ir/api/menu

public string PicLink { get; set; } public string Title { get; set; } public int Sort { get; set; } public string Content { get; set; } public ContentType Type { get; set; } public string Location { get; set; } public bool Show { get; set; } public DeviceType DeviceType { get; set; }

success: status code 200
fail: status code 400

ویرایش یک منو


http://livegalleria.ir/api/menu/{id}

id menu, public string PicLink { get; set; } public string Title { get; set; } public int Sort { get; set; } public string Content { get; set; } public ContentType Type { get; set; } public string Location { get; set; } public bool Show { get; set; } public DeviceType DeviceType { get; set; }

success: status code 200
fail: status code 400

حذف یک منو


http://livegalleria.ir/api/menu

id menu

success: status code 200
fail: status code 400