Agent : نماینده ها

(POST) api/Agent/Insert

Params: model:dboAgent, languageId:number
export class dboAgent {
Id:number
OrginId?:number
CityId?:number
Name:string
FullName:string
Phone:string
Address:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Agent/SelectById

Params: id:number, languageId:number

Returns: dboAgent

export class dboAgent {
Id:number
OrginId?:number
CityId?:number
Name:string
FullName:string
Phone:string
Address:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Agent/SelectAll

Params: languageId:number

Returns: dboAgent[]

export class dboAgent [] {
Id:number
OrginId?:number
CityId?:number
Name:string
FullName:string
Phone:string
Address:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/Agent/Update

Params: model:dboAgent, languageId:number
export class dboAgent {
Id:number
OrginId?:number
CityId?:number
Name:string
FullName:string
Phone:string
Address:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Agent/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Agent/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string

Returns: dboAgent[]

export class dboAgent [] {
Id:number
OrginId?:number
CityId?:number
Name:string
FullName:string
Phone:string
Address:string
LanguageId:number
ModifyDate:Date
UserId:number
}



Architect : معماران

(POST) api/Architect/Insert

Params: model:dboArchitect, languageId:number
export class dboArchitect {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/Architect/InsertList

Params: models:dboArchitect[], languageId:number
export class dboArchitect {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Architect/SelectById

Params: id:number, languageId:number

Returns: dboArchitect[]

export class dboArchitect [] {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Architect/SelectAll

Params: languageId:number

Returns: dboArchitect[]

export class dboArchitect [] {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Architect/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboArchitect[]

export class dboArchitect [] {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/Architect/Update

Params: model:dboArchitect, languageId:number
export class dboArchitect {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/Architect/UpdateList

Params: models:dboArchitect[], languageId:number
export class dboArchitect {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Architect/Delete

Params: id:number, languageId:number

Returns: Json



Award : جوایز

(POST) api/Award/Insert

Params: model:dboAward, languageId:number
export class dboAward {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/Award/InsertList

Params: models:dboAward[], languageId:number
export class dboAward {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Award/SelectById

Params: id:number, languageId:number

Returns: dboAward[]

export class dboAward [] {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Award/SelectAll

Params: languageId:number

Returns: dboAward[]

export class dboAward [] {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Award/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboAward[]

export class dboAward [] {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/Award/Update

Params: model:dboAward, languageId:number
export class dboAward {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/Award/UpdateList

Params: models:dboAward[], languageId:number
export class dboAward {
Id:number
OrginalId?:number
Name:string
Description:string
Image:string
Alt:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Award/Delete

Params: id:number, languageId:number

Returns: Json



Catalogues : کاتالوگ ها

(POST) api/Catalogues/Insert

Params: model:dboCatalogues, languageId:number
export class dboCatalogues {
Id:number
OrginalId?:number
Title:string
Name:string
Image:string
Pdf:string
Description:string
ShowHomePage?:boolean
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/Catalogues/InsertWithFormData

Params:

Returns: HttpResponseMessage

export class HttpResponseMessage {
Version:Version
Content:HttpContent
StatusCode:HttpStatusCode
ReasonPhrase:string
Headers:HttpResponseHeaders
RequestMessage:HttpRequestMessage
IsSuccessStatusCode:boolean
}


(PUT) api/Catalogues/UpdateWithFormData

Params:

Returns: HttpResponseMessage

export class HttpResponseMessage {
Version:Version
Content:HttpContent
StatusCode:HttpStatusCode
ReasonPhrase:string
Headers:HttpResponseHeaders
RequestMessage:HttpRequestMessage
IsSuccessStatusCode:boolean
}


(GET) api/Catalogues/SelectById

Params: id:number, languageId:number

Returns: dboCatalogues

export class dboCatalogues {
Id:number
OrginalId?:number
Title:string
Name:string
Image:string
Pdf:string
Description:string
ShowHomePage?:boolean
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Catalogues/SelectAll

Params: languageId:number

Returns: dboCatalogues[]

export class dboCatalogues [] {
Id:number
OrginalId?:number
Title:string
Name:string
Image:string
Pdf:string
Description:string
ShowHomePage?:boolean
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/Catalogues/Update

Params: model:dboCatalogues, languageId:number
export class dboCatalogues {
Id:number
OrginalId?:number
Title:string
Name:string
Image:string
Pdf:string
Description:string
ShowHomePage?:boolean
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Catalogues/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Catalogues/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboCatalogues[]

export class dboCatalogues [] {
Id:number
OrginalId?:number
Title:string
Name:string
Image:string
Pdf:string
Description:string
ShowHomePage?:boolean
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Catalogues/Download

Params: languageId:number, CataloguesId:number

Returns: HttpResponseMessage



Certificate : گواهی نامه ها

(POST) api/Certificate/Insert

Params: model:dboCertificate, languageId:number
export class dboCertificate {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Certificate/SelectByKey

Params: key:string, languageId:number

Returns: dboCertificate[]

export class dboCertificate [] {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Certificate/SelectById

Params: id:number, languageId:number

Returns: dboCertificate

export class dboCertificate {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Certificate/SelectAll

Params: languageId:number

Returns: dboCertificate[]

export class dboCertificate [] {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Certificate/SelectAllWithoutImage

Params: languageId:number

Returns: dboCertificate[]

export class dboCertificate [] {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/Certificate/Update

Params: model:dboCertificate, languageId:number
export class dboCertificate {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Certificate/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Certificate/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string

Returns: dboCertificate[]

export class dboCertificate [] {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}



Color : رنگ ها

(POST) api/Color/Insert

Params: model:dboColor
export class dboColor {
Id:number
Hexcode:string
Order?:number
ModifyDate:Date
}

Returns: Json


(GET) api/Color/SelectAll

Params:

Returns: dboColor[]

export class dboColor [] {
Id:number
Hexcode:string
Order?:number
ModifyDate:Date
}


(GET) api/Color/SelectById

Params: id:number

Returns: dboColor

export class dboColor {
Id:number
Hexcode:string
Order?:number
ModifyDate:Date
}


(PUT) api/Color/Update

Params: model:dboColor
export class dboColor {
Id:number
Hexcode:string
Order?:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/Color/Delete

Params: id:number

Returns: Json



Config : تنظیمات

(POST) api/Config/Insert

Params: model:dboConfig, languageId:number
export class dboConfig {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/Config/InsertList

Params: models:dboConfig[], languageId:number
export class dboConfig {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Config/SelectByKey

Params: key:string, languageId:number

Returns: dboConfig[]

export class dboConfig [] {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Config/SelectByCategoryId

Params: categoryId:number, languageId:number

Returns: dboConfig[]

export class dboConfig [] {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Config/SelectByCategoryId

Params: categoryId:number, languageId:number, forLang:boolean

Returns: dboConfig[]

export class dboConfig [] {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Config/SelectAll

Params: languageId:number

Returns: dboConfig[]

export class dboConfig [] {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Config/SelectAllGroup

Params: languageId:number

Returns: dboConfig[]

export class dboConfig [] {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Config/SelectById

Params: id:number, languageId:number

Returns: dboConfig[]

export class dboConfig [] {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/Config/Update

Params: model:dboConfig, languageId:number
export class dboConfig {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/Config/UpdateList

Params: models:dboConfig[], languageId:number
export class dboConfig {
Id:number
Lable:string
Description:string
Key:string
Value:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Config/Delete

Params: id:number, languageId:number

Returns: Json



Conversation : مکالمه ها

(POST) api/Conversation/Insert

Params: model:dboConversation, languageId:number
export class dboConversation {
Id:number
StageUserId:number
Subject:string
Comment:string
Attachment:string
Attachment2:string
Attachment3:string
Attachment4:string
InsertDate:Date
LastUpdate?:Date
HasReply:boolean
ReplyTo?:number
SenderId?:number
UserId?:number
}

Returns: Json


(POST) api/Conversation/EndUserInsert

Params: model:dboConversation, languageId:number
export class dboConversation {
Id:number
StageUserId:number
Subject:string
Comment:string
Attachment:string
Attachment2:string
Attachment3:string
Attachment4:string
InsertDate:Date
LastUpdate?:Date
HasReply:boolean
ReplyTo?:number
SenderId?:number
UserId?:number
}

Returns: Json


(GET) api/Conversation/SelectById

Params: id:number, languageId:number

Returns: dboConversation

export class dboConversation {
Id:number
StageUserId:number
Subject:string
Comment:string
Attachment:string
Attachment2:string
Attachment3:string
Attachment4:string
InsertDate:Date
LastUpdate?:Date
HasReply:boolean
ReplyTo?:number
SenderId?:number
UserId?:number
}


(GET) api/Conversation/SelectAllStageConversation

Params: languageId:number, stageId:number, userId:number

Returns: dboConversation[]

export class dboConversation [] {
Id:number
StageUserId:number
Subject:string
Comment:string
Attachment:string
Attachment2:string
Attachment3:string
Attachment4:string
InsertDate:Date
LastUpdate?:Date
HasReply:boolean
ReplyTo?:number
SenderId?:number
UserId?:number
}


(GET) api/Conversation/SelectAllStageConversation

Params: languageId:number, stageId:number

Returns: dboConversation[]

export class dboConversation [] {
Id:number
StageUserId:number
Subject:string
Comment:string
Attachment:string
Attachment2:string
Attachment3:string
Attachment4:string
InsertDate:Date
LastUpdate?:Date
HasReply:boolean
ReplyTo?:number
SenderId?:number
UserId?:number
}


(GET) api/Conversation/SelectAllStageAttachments

Params: languageId:number, stageId:number

Returns: String[]

export class String [] {
Length:number
Chars:Char
}


(GET) api/Conversation/Download

Params: languageId:number, attachment:string

Returns: HttpResponseMessage



Dashboard : داشبورد

(GET) api/Dashboard/Today

Params: languageId:number

Returns: Json


(GET) api/Dashboard/Alexa

Params: siteName:string

Returns: Json


(GET) api/Dashboard/Languages

Params:

Returns: LanguageView[]

export class LanguageView [] {
Id:number
Title:string
Code:string
Direction:string
}


(GET) api/Dashboard/LogUser

Params: languageId:number

Returns: LogTable[]

export class LogTable [] {
Id:number
InsertDate:Date
Name:string
Activity:string
UserName:string
}


(GET) api/Dashboard/LogUser

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string

Returns: LogTable[]

export class LogTable [] {
Id:number
InsertDate:Date
Name:string
Activity:string
UserName:string
}



FAQType : عکس های ثابت

(POST) api/FAQType/Insert

Params: model:dboFAQType, languageId:number
export class dboFAQType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/FAQType/InsertList

Params: models:dboFAQType[], languageId:number
export class dboFAQType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/FAQType/SelectById

Params: id:number, languageId:number

Returns: dboFAQType[]

export class dboFAQType [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(GET) api/FAQType/SelectAll

Params: languageId:number

Returns: dboFAQType[]

export class dboFAQType [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/FAQType/Update

Params: model:dboFAQType, languageId:number
export class dboFAQType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/FAQType/UpdateList

Params: models:dboFAQType[], languageId:number
export class dboFAQType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/FAQType/Delete

Params: id:number, languageId:number

Returns: Json



FAQuestion : سوالات متداول

(POST) api/FAQuestion/Insert

Params: model:dboFAQuestion, languageId:number
export class dboFAQuestion {
Id:number
OrginalId?:number
FAQTypeId?:number
Question:string
Answer:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/FAQuestion/InsertList

Params: models:dboFAQuestion[], languageId:number
export class dboFAQuestion {
Id:number
OrginalId?:number
FAQTypeId?:number
Question:string
Answer:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/FAQuestion/SelectById

Params: id:number, languageId:number

Returns: dboFAQuestion[]

export class dboFAQuestion [] {
Id:number
OrginalId?:number
FAQTypeId?:number
Question:string
Answer:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/FAQuestion/SelectAll

Params: languageId:number

Returns: dboFAQuestion[]

export class dboFAQuestion [] {
Id:number
OrginalId?:number
FAQTypeId?:number
Question:string
Answer:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/FAQuestion/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboFAQuestion[]

export class dboFAQuestion [] {
Id:number
OrginalId?:number
FAQTypeId?:number
Question:string
Answer:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/FAQuestion/Update

Params: model:dboFAQuestion, languageId:number
export class dboFAQuestion {
Id:number
OrginalId?:number
FAQTypeId?:number
Question:string
Answer:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/FAQuestion/UpdateList

Params: models:dboFAQuestion[], languageId:number
export class dboFAQuestion {
Id:number
OrginalId?:number
FAQTypeId?:number
Question:string
Answer:string
Order:number
Pin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/FAQuestion/Delete

Params: id:number, languageId:number

Returns: Json



File : بارگزاری فایل برای CkEditor

(POST) api/File/Insert

Params:

Returns: HttpResponseMessage

export class HttpResponseMessage {
Version:Version
Content:HttpContent
StatusCode:HttpStatusCode
ReasonPhrase:string
Headers:HttpResponseHeaders
RequestMessage:HttpRequestMessage
IsSuccessStatusCode:boolean
}


(PUT) api/File/Update

Params:

Returns: HttpResponseMessage

export class HttpResponseMessage {
Version:Version
Content:HttpContent
StatusCode:HttpStatusCode
ReasonPhrase:string
Headers:HttpResponseHeaders
RequestMessage:HttpRequestMessage
IsSuccessStatusCode:boolean
}



Forms : فرم ها

(POST) api/Forms/Insert

Params: model:dboForms, languageId:number
export class dboForms {
Id:number
Title:string
}

Returns: Json


(GET) api/Forms/SelectById

Params: id:number, languageId:number

Returns: dboForms

export class dboForms {
Id:number
Title:string
}


(GET) api/Forms/SelectAll

Params: languageId:number

Returns: dboForms[]

export class dboForms [] {
Id:number
Title:string
}


(PUT) api/Forms/Update

Params: model:dboForms, languageId:number
export class dboForms {
Id:number
Title:string
}

Returns: Json


(DELETE) api/Forms/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Forms/SelectGroupby

Params: languageId:number

Returns: ContactGroup[]

export class ContactGroup [] {
Title:string
All:number
LastDay:number
}


(DELETE) api/Forms/DeleteAllData

Params: id:number, languageId:number

Returns: Json



FormsData : فرم ها

(POST) api/FormsData/Insert

Params: model:dboFormsData, languageId:number
export class dboFormsData {
Id:number
FormsAttributeId:number
Value:string
IsIdAttributeValue:boolean
}

Returns: Json


(GET) api/FormsData/SelectById

Params: id:number, languageId:number

Returns: dboFormsData

export class dboFormsData {
Id:number
FormsAttributeId:number
Value:string
IsIdAttributeValue:boolean
}


(GET) api/FormsData/SelectAll

Params: languageId:number

Returns: dboFormsData[]

export class dboFormsData [] {
Id:number
FormsAttributeId:number
Value:string
IsIdAttributeValue:boolean
}


(PUT) api/FormsData/Update

Params: model:dboFormsData, languageId:number
export class dboFormsData {
Id:number
FormsAttributeId:number
Value:string
IsIdAttributeValue:boolean
}

Returns: Json


(DELETE) api/FormsData/Delete

Params: id:number, languageId:number

Returns: Json



FurnishBase : عکس های ثابت

(POST) api/FurnishBase/Insert

Params: model:dboFurnishBase, languageId:number
export class dboFurnishBase {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/FurnishBase/InsertList

Params: models:dboFurnishBase[], languageId:number
export class dboFurnishBase {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/FurnishBase/SelectById

Params: id:number, languageId:number

Returns: dboFurnishBase[]

export class dboFurnishBase [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/FurnishBase/SelectAll

Params: languageId:number

Returns: dboFurnishBase[]

export class dboFurnishBase [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/FurnishBase/SelectAllWithoutImage

Params: languageId:number

Returns: dboFurnishBase[]

export class dboFurnishBase [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/FurnishBase/Update

Params: model:dboFurnishBase, languageId:number
export class dboFurnishBase {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/FurnishBase/UpdateList

Params: models:dboFurnishBase[], languageId:number
export class dboFurnishBase {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/FurnishBase/Delete

Params: id:number, languageId:number

Returns: Json



FurnishColor : رنگ ها

(POST) api/FurnishColor/Insert

Params: model:dboFurnishColor
export class dboFurnishColor {
Id:number
OrginalId?:number
FurnishBaseId?:number
FurnishBaseName:string
Hexcode:string
Image:string
Image2:string
Order?:number
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/FurnishColor/SelectAll

Params:

Returns: dboFurnishColor[]

export class dboFurnishColor [] {
Id:number
OrginalId?:number
FurnishBaseId?:number
FurnishBaseName:string
Hexcode:string
Image:string
Image2:string
Order?:number
LanguageId:number
ModifyDate:Date
}


(GET) api/FurnishColor/SelectById

Params: id:number

Returns: dboFurnishColor

export class dboFurnishColor {
Id:number
OrginalId?:number
FurnishBaseId?:number
FurnishBaseName:string
Hexcode:string
Image:string
Image2:string
Order?:number
LanguageId:number
ModifyDate:Date
}


(PUT) api/FurnishColor/Update

Params: model:dboFurnishColor
export class dboFurnishColor {
Id:number
OrginalId?:number
FurnishBaseId?:number
FurnishBaseName:string
Hexcode:string
Image:string
Image2:string
Order?:number
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/FurnishColor/Delete

Params: id:number

Returns: Json



FurnishType : عکس های ثابت

(POST) api/FurnishType/Insert

Params: model:dboFurnishType, languageId:number
export class dboFurnishType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/FurnishType/InsertList

Params: models:dboFurnishType[], languageId:number
export class dboFurnishType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/FurnishType/SelectById

Params: id:number, languageId:number

Returns: dboFurnishType[]

export class dboFurnishType [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/FurnishType/SelectAll

Params: languageId:number

Returns: dboFurnishType[]

export class dboFurnishType [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/FurnishType/SelectAllWithoutImage

Params: languageId:number

Returns: dboFurnishType[]

export class dboFurnishType [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/FurnishType/Update

Params: model:dboFurnishType, languageId:number
export class dboFurnishType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/FurnishType/UpdateList

Params: models:dboFurnishType[], languageId:number
export class dboFurnishType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/FurnishType/Delete

Params: id:number, languageId:number

Returns: Json



GlobalImageCategory : گروه عکس ها ...

(POST) api/GlobalImageCategory/Insert

Params: model:dboGlobalImageCategory, languageId:number
export class dboGlobalImageCategory {
Id:number
Name:string
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/GlobalImageCategory/SelectAll

Params: languageId:number

Returns: dboGlobalImageCategory[]

export class dboGlobalImageCategory [] {
Id:number
Name:string
ModifyDate:Date
UserId:number
}


(GET) api/GlobalImageCategory/SelectById

Params: id:number, languageId:number

Returns: dboGlobalImageCategory

export class dboGlobalImageCategory {
Id:number
Name:string
ModifyDate:Date
UserId:number
}


(PUT) api/GlobalImageCategory/Update

Params: model:dboGlobalImageCategory, languageId:number
export class dboGlobalImageCategory {
Id:number
Name:string
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/GlobalImageCategory/Delete

Params: id:number, languageId:number

Returns: Json



GlobalImage : عکس ...

(POST) api/GlobalImage/Insert

Params: model:dboGlobalImage, languageId:number
export class dboGlobalImage {
Id:number
OrginId?:number
GlobalImageCategoryId:number
Image:string
Name:string
Alt:string
Link:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/GlobalImage/SelectById

Params: id:number, languageId:number

Returns: dboGlobalImage

export class dboGlobalImage {
Id:number
OrginId?:number
GlobalImageCategoryId:number
Image:string
Name:string
Alt:string
Link:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/GlobalImage/SelectAll

Params: languageId:number

Returns: dboGlobalImage[]

export class dboGlobalImage [] {
Id:number
OrginId?:number
GlobalImageCategoryId:number
Image:string
Name:string
Alt:string
Link:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/GlobalImage/SelectByCategoryId

Params: languageId:number, globalImageCategoryId:number

Returns: dboGlobalImage[]

export class dboGlobalImage [] {
Id:number
OrginId?:number
GlobalImageCategoryId:number
Image:string
Name:string
Alt:string
Link:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/GlobalImage/Update

Params: model:dboGlobalImage, languageId:number
export class dboGlobalImage {
Id:number
OrginId?:number
GlobalImageCategoryId:number
Image:string
Name:string
Alt:string
Link:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/GlobalImage/Delete

Params: id:number, languageId:number

Returns: Json



GlobalTextCategory : گروه متن ...

(POST) api/GlobalTextCategory/Insert

Params: model:dboGlobalTextCategory, languageId:number
export class dboGlobalTextCategory {
Id:number
Text:string
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/GlobalTextCategory/SelectAll

Params: languageId:number

Returns: dboGlobalTextCategory[]

export class dboGlobalTextCategory [] {
Id:number
Text:string
ModifyDate:Date
UserId:number
}


(GET) api/GlobalTextCategory/SelectById

Params: id:number, languageId:number

Returns: dboGlobalTextCategory

export class dboGlobalTextCategory {
Id:number
Text:string
ModifyDate:Date
UserId:number
}


(PUT) api/GlobalTextCategory/Update

Params: model:dboGlobalTextCategory, languageId:number
export class dboGlobalTextCategory {
Id:number
Text:string
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/GlobalTextCategory/Delete

Params: id:number, languageId:number

Returns: Json



GlobalText : متن ...

(POST) api/GlobalText/Insert

Params: model:dboGlobalText, languageId:number
export class dboGlobalText {
Id:number
OrginId?:number
GlobalTextCategoryId:number
Text:string
Description:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/GlobalText/SelectById

Params: id:number, languageId:number

Returns: dboGlobalText

export class dboGlobalText {
Id:number
OrginId?:number
GlobalTextCategoryId:number
Text:string
Description:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/GlobalText/Update

Params: model:dboGlobalText, languageId:number
export class dboGlobalText {
Id:number
OrginId?:number
GlobalTextCategoryId:number
Text:string
Description:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/GlobalText/Delete

Params: id:number, languageId:number

Returns: Json



LatestPostUpdates : آخرین مطالب وبلاگ و اخبار

(GET) api/LatestPostUpdates/SelectAll

Params: languageId:number, skip:number, take:number

Returns: LatestPostUpdates[]

export class LatestPostUpdates [] {
Id:number
Type:string
OrginalId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}



Location : مکان پروژه ها

(POST) api/Location/Insert

Params: model:dboLocation, languageId:number
export class dboLocation {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/Location/InsertList

Params: model:dboLocation[], languageId:number
export class dboLocation {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/Location/UploadList

Params: models:dboLocation[], languageId:number
export class dboLocation {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Location/SelectAll

Params: languageId:number

Returns: dboLocation[]

export class dboLocation [] {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}


(GET) api/Location/SelectByProjectId

Params: languageId:number, projectId:number

Returns: dboLocation[]

export class dboLocation [] {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}


(GET) api/Location/SelectByKey

Params: languageId:number, key:string

Returns: dboLocation[]

export class dboLocation [] {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}


(GET) api/Location/SelectAllWithoutImage

Params: languageId:number

Returns: dboLocation[]

export class dboLocation [] {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}


(GET) api/Location/SelectById

Params: id:number, languageId:number

Returns: dboLocation[]

export class dboLocation [] {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}


(PUT) api/Location/Update

Params: model:dboLocation, languageId:number
export class dboLocation {
Id:number
OrginalId?:number
Image1:string
Image2:string
Title:string
Link:string
Longitude:string
Latitude:string
Key:string
Content:string
LanguageId?:number
ProjectId?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Location/Delete

Params: id:number, languageId:number

Returns: Json



MultiMedia : اسلاید شو ها و ...

(POST) api/MultiMedia/Insert

Params: model:dboMultiMedia, languageId:number
export class dboMultiMedia {
Id:number
OrginalId:number
Code:Guid
Video:string
Image:string
Image2:string
Order?:number
File:string
Name:string
Alt:string
Link:string
Pin:boolean
ModifyDate:Date
UserId:number
LanguageId:number
}

Returns: Json


(POST) api/MultiMedia/InsertWithFormData

Params:

Returns: HttpResponseMessage

export class HttpResponseMessage {
Version:Version
Content:HttpContent
StatusCode:HttpStatusCode
ReasonPhrase:string
Headers:HttpResponseHeaders
RequestMessage:HttpRequestMessage
IsSuccessStatusCode:boolean
}


(POST) api/MultiMedia/InsertList

Params: models:dboMultiMedia[], languageId:number
export class dboMultiMedia {
Id:number
OrginalId:number
Code:Guid
Video:string
Image:string
Image2:string
Order?:number
File:string
Name:string
Alt:string
Link:string
Pin:boolean
ModifyDate:Date
UserId:number
LanguageId:number
}

Returns: Json


(GET) api/MultiMedia/SelectById

Params: id:number, languageId:number

Returns: dboMultiMedia

export class dboMultiMedia {
Id:number
OrginalId:number
Code:Guid
Video:string
Image:string
Image2:string
Order?:number
File:string
Name:string
Alt:string
Link:string
Pin:boolean
ModifyDate:Date
UserId:number
LanguageId:number
}


(GET) api/MultiMedia/SelectByCode

Params: code:string, languageId:number

Returns: dboMultiMedia[]

export class dboMultiMedia [] {
Id:number
OrginalId:number
Code:Guid
Video:string
Image:string
Image2:string
Order?:number
File:string
Name:string
Alt:string
Link:string
Pin:boolean
ModifyDate:Date
UserId:number
LanguageId:number
}


(GET) api/MultiMedia/SelectByPageName

Params: name:string, languageId:number

Returns: dboMultiMedia[]

export class dboMultiMedia [] {
Id:number
OrginalId:number
Code:Guid
Video:string
Image:string
Image2:string
Order?:number
File:string
Name:string
Alt:string
Link:string
Pin:boolean
ModifyDate:Date
UserId:number
LanguageId:number
}


(PUT) api/MultiMedia/Update

Params: model:dboMultiMedia, languageId:number
export class dboMultiMedia {
Id:number
OrginalId:number
Code:Guid
Video:string
Image:string
Image2:string
Order?:number
File:string
Name:string
Alt:string
Link:string
Pin:boolean
ModifyDate:Date
UserId:number
LanguageId:number
}

Returns: Json


(PUT) api/MultiMedia/UpdateWithFormData

Params:

Returns: HttpResponseMessage

export class HttpResponseMessage {
Version:Version
Content:HttpContent
StatusCode:HttpStatusCode
ReasonPhrase:string
Headers:HttpResponseHeaders
RequestMessage:HttpRequestMessage
IsSuccessStatusCode:boolean
}


(PUT) api/MultiMedia/UploadList

Params: models:dboMultiMedia[], languageId:number
export class dboMultiMedia {
Id:number
OrginalId:number
Code:Guid
Video:string
Image:string
Image2:string
Order?:number
File:string
Name:string
Alt:string
Link:string
Pin:boolean
ModifyDate:Date
UserId:number
LanguageId:number
}

Returns: Json


(DELETE) api/MultiMedia/Delete

Params: id:number, languageId:number, all:boolean

Returns: Json


(GET) api/MultiMedia/DownloadFile

Params: languageId:number, code:string

Returns: HttpResponseMessage


(GET) api/MultiMedia/DownloadImage

Params: languageId:number, code:string

Returns: HttpResponseMessage



NewsCategory : دسته بندی اخبار

(POST) api/NewsCategory/Insert

Params: model:dboNewsCategory, languageId:number
export class dboNewsCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(POST) api/NewsCategory/InsertList

Params: models:dboNewsCategory[], languageId:number
export class dboNewsCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(GET) api/NewsCategory/SelectById

Params: id:number, languageId:number

Returns: dboNewsCategory[]

export class dboNewsCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/NewsCategory/SelectAll

Params: languageId:number

Returns: dboNewsCategory[]

export class dboNewsCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/NewsCategory/SelectAllWithoutMedia

Params: languageId:number

Returns: dboNewsCategory[]

export class dboNewsCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/NewsCategory/SelectCategoryAll

Params: languageId:number

Returns: dboNewsCategory[]

export class dboNewsCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/NewsCategory/SelectSubAll

Params: languageId:number

Returns: dboNewsCategory[]

export class dboNewsCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/NewsCategory/SelectSubCategoriesById

Params: languageId:number, parentCategoryId:number, forLang:boolean

Returns: dboNewsCategory[]

export class dboNewsCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/NewsCategory/SelectSubCategoriesByName

Params: languageId:number, parentCategoryName:string, forLang:boolean

Returns: dboNewsCategory[]

export class dboNewsCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(PUT) api/NewsCategory/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/NewsCategory/Update

Params: model:dboNewsCategory, languageId:number
export class dboNewsCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(PUT) api/NewsCategory/UpdateList

Params: models:dboNewsCategory[], languageId:number
export class dboNewsCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(DELETE) api/NewsCategory/Delete

Params: id:number, languageId:number

Returns: Json



NewsCategoryRelation : اختصاص اخبار به دسته بندی

(POST) api/NewsCategoryRelation/Insert

Params: model:dboNewsCategoryRelation, languageId:number
export class dboNewsCategoryRelation {
Id:number
NewsCategoryId:number
NewsId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/NewsCategoryRelation/SelectById

Params: id:number, languageId:number

Returns: dboNewsCategoryRelation

export class dboNewsCategoryRelation {
Id:number
NewsCategoryId:number
NewsId:number
ModifyDate:Date
UserId:number
}


(GET) api/NewsCategoryRelation/SelectAll

Params: languageId:number

Returns: dboNewsCategoryRelation[]

export class dboNewsCategoryRelation [] {
Id:number
NewsCategoryId:number
NewsId:number
ModifyDate:Date
UserId:number
}


(GET) api/NewsCategoryRelation/SelectByNewsId

Params: newsId:number, languageId:number

Returns: dboNewsCategoryRelation[]

export class dboNewsCategoryRelation [] {
Id:number
NewsCategoryId:number
NewsId:number
ModifyDate:Date
UserId:number
}


(PUT) api/NewsCategoryRelation/Update

Params: model:dboNewsCategoryRelation, languageId:number
export class dboNewsCategoryRelation {
Id:number
NewsCategoryId:number
NewsId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/NewsCategoryRelation/Delete

Params: id:number, languageId:number

Returns: Json



News : اخبار

(POST) api/News/Insert

Params: model:dboNews, languageId:number
export class dboNews {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/News/InsertList

Params: models:dboNews[], languageId:number, categoryIds:string
export class dboNews {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/News/SelectById

Params: id:number, languageId:number

Returns: dboNews[]

export class dboNews [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/News/SelectById

Params: id:number, languageId:number, forLang:boolean

Returns: dboNews[]

export class dboNews [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/News/SelectAll

Params: languageId:number, forHome:boolean

Returns: dboNews[]

export class dboNews [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/News/SelectAllWithoutMedia

Params: languageId:number

Returns: dboNews[]

export class dboNews [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/News/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/News/Update

Params: model:dboNews, languageId:number
export class dboNews {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/News/UpdateList

Params: models:dboNews[], languageId:number, categoryIds:string
export class dboNews {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/News/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/News/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboNews[]

export class dboNews [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/News/SelectByName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/News/SelectByCategoryName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/News/SelectByCategoryId

Params: id:number, languageId:number, forLang:boolean

Returns: Json



Notify : رویداد ها

(POST) api/Notify/Insert

Params: model:dboNotify
export class dboNotify {
Id:number
Description:string
NotifType:string
InsertDate:Date
ModifyDate:Date
}

Returns: Json


(GET) api/Notify/SelectAll

Params:

Returns: dboNotify[]

export class dboNotify [] {
Id:number
Description:string
NotifType:string
InsertDate:Date
ModifyDate:Date
}


(GET) api/Notify/SelectById

Params: id:number

Returns: dboNotify

export class dboNotify {
Id:number
Description:string
NotifType:string
InsertDate:Date
ModifyDate:Date
}


(PUT) api/Notify/Update

Params: model:dboNotify
export class dboNotify {
Id:number
Description:string
NotifType:string
InsertDate:Date
ModifyDate:Date
}

Returns: Json


(DELETE) api/Notify/Delete

Params: id:number

Returns: Json


(GET) api/Notify/SelectAllByType

Params: type:string

Returns: dboNotify[]

export class dboNotify [] {
Id:number
Description:string
NotifType:string
InsertDate:Date
ModifyDate:Date
}



OrderDetail : جزئیات سفارش ها

(POST) api/OrderDetail/Insert

Params: model:dboOrderDetail
export class dboOrderDetail {
Id:number
OrderHeaderId:number
ProductId:number
ProductName:string
Count:number
Price:Decimal
FinalPrice:Decimal
ExtraDiscount?:Decimal
ModifyDate:Date
UserId:number
Description:string
}

Returns: Json


(GET) api/OrderDetail/SelectAll

Params:

Returns: dboOrderDetail[]

export class dboOrderDetail [] {
Id:number
OrderHeaderId:number
ProductId:number
ProductName:string
Count:number
Price:Decimal
FinalPrice:Decimal
ExtraDiscount?:Decimal
ModifyDate:Date
UserId:number
Description:string
}


(GET) api/OrderDetail/SelectById

Params: id:number

Returns: dboOrderDetail

export class dboOrderDetail {
Id:number
OrderHeaderId:number
ProductId:number
ProductName:string
Count:number
Price:Decimal
FinalPrice:Decimal
ExtraDiscount?:Decimal
ModifyDate:Date
UserId:number
Description:string
}


(PUT) api/OrderDetail/Update

Params: model:dboOrderDetail
export class dboOrderDetail {
Id:number
OrderHeaderId:number
ProductId:number
ProductName:string
Count:number
Price:Decimal
FinalPrice:Decimal
ExtraDiscount?:Decimal
ModifyDate:Date
UserId:number
Description:string
}

Returns: Json


(DELETE) api/OrderDetail/Delete

Params: id:number

Returns: Json


(GET) api/OrderDetail/selectDetailByHeaderId

Params: headerid:number

Returns: dboOrderDetail[]

export class dboOrderDetail [] {
Id:number
OrderHeaderId:number
ProductId:number
ProductName:string
Count:number
Price:Decimal
FinalPrice:Decimal
ExtraDiscount?:Decimal
ModifyDate:Date
UserId:number
Description:string
}



OrderHeader : سفارش ها

(POST) api/OrderHeader/Insert

Params: model:dboOrderHeader
export class dboOrderHeader {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}

Returns: Json


(GET) api/OrderHeader/SelectAll

Params:

Returns: dboOrderHeader[]

export class dboOrderHeader [] {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}


(GET) api/OrderHeader/SelectById

Params: id:number

Returns: dboOrderHeader

export class dboOrderHeader {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}


(PUT) api/OrderHeader/Update

Params: model:dboOrderHeader
export class dboOrderHeader {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}

Returns: Json


(DELETE) api/OrderHeader/Delete

Params: id:number

Returns: Json


(GET) api/OrderHeader/selectHeaderByUserId

Params: userid:number

Returns: dboOrderHeader[]

export class dboOrderHeader [] {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}


(GET) api/OrderHeader/SelectAllCreated

Params:

Returns: dboOrderHeader[]

export class dboOrderHeader [] {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}


(GET) api/OrderHeader/SelectAllProccessing

Params:

Returns: dboOrderHeader[]

export class dboOrderHeader [] {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}


(GET) api/OrderHeader/SelectAllSubmited

Params:

Returns: dboOrderHeader[]

export class dboOrderHeader [] {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}


(GET) api/OrderHeader/SelectAllIDone

Params:

Returns: dboOrderHeader[]

export class dboOrderHeader [] {
Id:number
CustomerId:number
OrderNumber?:number
CustomerName:string
CustomerRoleName:string
IsProccessing:boolean
isSubmit:boolean
isDone:boolean
TotalAmount:Decimal
PayableAmount:Decimal
ExtraDiscount?:Decimal
InsertDate:Date
SubmitDate?:Date
ModifyDate:Date
UserId:number
isGift?:boolean
OrderAddress:string
FactorNumber:string
TransferAmount:Decimal
DepositAmount:Decimal
Description:string
SendingDate?:Date
SendingTypeId?:number
PaymentTypeId?:number
UserFactorNumberId?:number
TimePeriodId?:number
}


(GET) api/OrderHeader/UpdatePrice

Params: id:number

Returns: Json



PageText : توضیحات صفحات

(POST) api/PageText/Insert

Params: model:dboPageText, languageId:number
export class dboPageText {
Id:number
Name:string
Thumbnail:string
Image:string
Image2:string
Movie:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Lan?:Single
Lon?:Single
Type?:number
Key:string
PostCode:string
LanguageId:number
ModifyDate:Date
UserId:number
isManual?:boolean
Order?:number
}

Returns: Json


(POST) api/PageText/InsertList

Params: model:dboPageText[], languageId:number
export class dboPageText {
Id:number
Name:string
Thumbnail:string
Image:string
Image2:string
Movie:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Lan?:Single
Lon?:Single
Type?:number
Key:string
PostCode:string
LanguageId:number
ModifyDate:Date
UserId:number
isManual?:boolean
Order?:number
}

Returns: Json


(GET) api/PageText/SelectById

Params: id:number, languageId:number

Returns: dboPageText[]

export class dboPageText [] {
Id:number
Name:string
Thumbnail:string
Image:string
Image2:string
Movie:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Lan?:Single
Lon?:Single
Type?:number
Key:string
PostCode:string
LanguageId:number
ModifyDate:Date
UserId:number
isManual?:boolean
Order?:number
}


(GET) api/PageText/SelectAll

Params: languageId:number

Returns: dboPageText[]

export class dboPageText [] {
Id:number
Name:string
Thumbnail:string
Image:string
Image2:string
Movie:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Lan?:Single
Lon?:Single
Type?:number
Key:string
PostCode:string
LanguageId:number
ModifyDate:Date
UserId:number
isManual?:boolean
Order?:number
}


(GET) api/PageText/SelectByKey

Params: key:string, languageId:number, forLang:boolean

Returns: dboPageText[]

export class dboPageText [] {
Id:number
Name:string
Thumbnail:string
Image:string
Image2:string
Movie:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Lan?:Single
Lon?:Single
Type?:number
Key:string
PostCode:string
LanguageId:number
ModifyDate:Date
UserId:number
isManual?:boolean
Order?:number
}


(PUT) api/PageText/Update

Params: model:dboPageText, languageId:number
export class dboPageText {
Id:number
Name:string
Thumbnail:string
Image:string
Image2:string
Movie:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Lan?:Single
Lon?:Single
Type?:number
Key:string
PostCode:string
LanguageId:number
ModifyDate:Date
UserId:number
isManual?:boolean
Order?:number
}

Returns: Json


(PUT) api/PageText/UpdateList

Params: models:dboPageText[], languageId:number
export class dboPageText {
Id:number
Name:string
Thumbnail:string
Image:string
Image2:string
Movie:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Lan?:Single
Lon?:Single
Type?:number
Key:string
PostCode:string
LanguageId:number
ModifyDate:Date
UserId:number
isManual?:boolean
Order?:number
}

Returns: Json


(DELETE) api/PageText/Delete

Params: id:number, languageId:number

Returns: Json



PaymentType : روش ارسال

(POST) api/PaymentType/Insert

Params: model:dboPaymentType, languageId:number
export class dboPaymentType {
Id:number
OrginalId?:number
Name:string
Description:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/PaymentType/InsertList

Params: models:dboPaymentType[], languageId:number
export class dboPaymentType {
Id:number
OrginalId?:number
Name:string
Description:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/PaymentType/SelectById

Params: id:number, languageId:number

Returns: dboPaymentType[]

export class dboPaymentType [] {
Id:number
OrginalId?:number
Name:string
Description:string
LanguageId:number
ModifyDate:Date
}


(GET) api/PaymentType/SelectAll

Params: languageId:number

Returns: dboPaymentType[]

export class dboPaymentType [] {
Id:number
OrginalId?:number
Name:string
Description:string
LanguageId:number
ModifyDate:Date
}


(GET) api/PaymentType/SelectAllWithoutImage

Params: languageId:number

Returns: dboPaymentType[]

export class dboPaymentType [] {
Id:number
OrginalId?:number
Name:string
Description:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/PaymentType/Update

Params: model:dboPaymentType, languageId:number
export class dboPaymentType {
Id:number
OrginalId?:number
Name:string
Description:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/PaymentType/UpdateList

Params: models:dboPaymentType[], languageId:number
export class dboPaymentType {
Id:number
OrginalId?:number
Name:string
Description:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/PaymentType/Delete

Params: id:number, languageId:number

Returns: Json



ProductCategory : دسته بندی محصولات

(POST) api/ProductCategory/Insert

Params: model:dboProductCategory, languageId:number
export class dboProductCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}

Returns: Json


(POST) api/ProductCategory/InsertList

Params: models:dboProductCategory[], languageId:number
export class dboProductCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}

Returns: Json


(GET) api/ProductCategory/SelectById

Params: id:number, languageId:number

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectById

Params: id:number, languageId:number, forLang:boolean

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectAll

Params: languageId:number

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectAll

Params: languageId:number, forLang:boolean

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectAllWithoutMedia

Params: languageId:number

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectCategoryAll

Params: languageId:number

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectCategoryAll

Params: languageId:number, forLang:boolean

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectSubAll

Params: languageId:number

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectSubAll

Params: languageId:number, forLang:boolean

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectSubCategoriesById

Params: languageId:number, parentCategoryId:number, forLang:boolean

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectSubCategoriesByName

Params: languageId:number, parentCategoryName:string, forLang:boolean

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(PUT) api/ProductCategory/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/ProductCategory/Update

Params: model:dboProductCategory, languageId:number
export class dboProductCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}

Returns: Json


(PUT) api/ProductCategory/UpdateList

Params: models:dboProductCategory[], languageId:number
export class dboProductCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}

Returns: Json


(DELETE) api/ProductCategory/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/ProductCategory/SelectAllChild

Params: parentId:number[], languageId:number

Returns: dboProductCategory[]

export class dboProductCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
BackgroundColor:string
}


(GET) api/ProductCategory/SelectProductCountByCategoryId

Params: categoryId:number, languageId:number

Returns: Json



ProductCategoryRelation : اختصاص محصول به دسته بندی

(POST) api/ProductCategoryRelation/Insert

Params: model:dboProductCategoryRelation, languageId:number
export class dboProductCategoryRelation {
Id:number
ProductCategoryId:number
ProductId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/ProductCategoryRelation/SelectById

Params: id:number, languageId:number

Returns: dboProductCategoryRelation

export class dboProductCategoryRelation {
Id:number
ProductCategoryId:number
ProductId:number
ModifyDate:Date
UserId:number
}


(GET) api/ProductCategoryRelation/SelectAll

Params: languageId:number

Returns: dboProductCategoryRelation[]

export class dboProductCategoryRelation [] {
Id:number
ProductCategoryId:number
ProductId:number
ModifyDate:Date
UserId:number
}


(GET) api/ProductCategoryRelation/SelectByProductId

Params: productId:number, languageId:number

Returns: dboProductCategoryRelation[]

export class dboProductCategoryRelation [] {
Id:number
ProductCategoryId:number
ProductId:number
ModifyDate:Date
UserId:number
}


(PUT) api/ProductCategoryRelation/Update

Params: model:dboProductCategoryRelation, languageId:number
export class dboProductCategoryRelation {
Id:number
ProductCategoryId:number
ProductId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/ProductCategoryRelation/Delete

Params: id:number, languageId:number

Returns: Json



Product : محصولات

(POST) api/Product/Insert

Params: model:dboProduct, languageId:number
export class dboProduct {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}

Returns: Json


(POST) api/Product/InsertList

Params: models:dboProduct[], languageId:number, categoryIds:string, materialIds:string
export class dboProduct {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}

Returns: Json


(GET) api/Product/SelectById

Params: id:number, languageId:number, forLang:boolean, withEmpty:boolean

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectAll

Params: languageId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectAllHomePage

Params: languageId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectAllWithoutMedia

Params: languageId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectAllWithoutZero

Params: languageId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectByCode

Params: code:string, languageId:number

Returns: dboProduct

export class dboProduct {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectAllByCode

Params: code:string, languageId:number

Returns: dboProduct

export class dboProduct {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(PUT) api/Product/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/Product/Update

Params: model:dboProduct, languageId:number
export class dboProduct {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}

Returns: Json


(PUT) api/Product/UpdateList

Params: models:dboProduct[], languageId:number, categoryIds:string, materialIds:string
export class dboProduct {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}

Returns: Json


(DELETE) api/Product/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Product/SelectByName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Product/DownloadFile

Params: languageId:number, id:number

Returns: HttpResponseMessage


(GET) api/Product/SelectByCategoryName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Product/SelectByCategoryId

Params: id:number, languageId:number, forLang:boolean

Returns: Json


(GET) api/Product/SelectPromotedProducts

Params: languageId:number, forHome:boolean

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectRelatedProduct

Params: id:number, languageId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/SelectZeroProducts

Params: languageId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Product/Activate

Params: id:number, languageId:number

Returns: Json


(GET) api/Product/Deactivate

Params: id:number, languageId:number

Returns: Json


(GET) api/Product/Search

Params: languageId:number, ordering:string, category:number, shape:string, size:string, area_min:string, area_max:string, color:string, ispromoted:boolean, skip:number, take:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}



ProductMaterial : متریال محصولات

(POST) api/ProductMaterial/Insert

Params: model:dboProductMaterial, languageId:number
export class dboProductMaterial {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}

Returns: Json


(POST) api/ProductMaterial/InsertList

Params: models:dboProductMaterial[], languageId:number
export class dboProductMaterial {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}

Returns: Json


(GET) api/ProductMaterial/SelectById

Params: id:number, languageId:number

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectById

Params: id:number, languageId:number, forLang:boolean

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectAll

Params: languageId:number

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectAll

Params: languageId:number, forLang:boolean

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectAllWithoutMedia

Params: languageId:number

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectMaterialAll

Params: languageId:number

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectMaterialAll

Params: languageId:number, forLang:boolean

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectSubAll

Params: languageId:number

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectSubAll

Params: languageId:number, forLang:boolean

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterial/SelectSubMaterialsByName

Params: languageId:number, parentMaterialName:string, forLang:boolean

Returns: dboProductMaterial[]

export class dboProductMaterial [] {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}


(PUT) api/ProductMaterial/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/ProductMaterial/Update

Params: model:dboProductMaterial, languageId:number
export class dboProductMaterial {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}

Returns: Json


(PUT) api/ProductMaterial/UpdateList

Params: models:dboProductMaterial[], languageId:number
export class dboProductMaterial {
Id:number
OrginalId?:number
Name:string
Order?:number
LanguageId:number
ModifyDate?:Date
UserId:number
}

Returns: Json


(DELETE) api/ProductMaterial/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/ProductMaterial/SelectProductCountByMaterialId

Params: materialId:number, languageId:number

Returns: Json



ProductMaterialRelation : اختصاص محصول به متریال

(POST) api/ProductMaterialRelation/Insert

Params: model:dboProductMaterialRelation, languageId:number
export class dboProductMaterialRelation {
Id:number
ProductMaterialId:number
ProductId:number
ModifyDate?:Date
UserId:number
}

Returns: Json


(GET) api/ProductMaterialRelation/SelectById

Params: id:number, languageId:number

Returns: dboProductMaterialRelation

export class dboProductMaterialRelation {
Id:number
ProductMaterialId:number
ProductId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterialRelation/SelectAll

Params: languageId:number

Returns: dboProductMaterialRelation[]

export class dboProductMaterialRelation [] {
Id:number
ProductMaterialId:number
ProductId:number
ModifyDate?:Date
UserId:number
}


(GET) api/ProductMaterialRelation/SelectByProductId

Params: productId:number, languageId:number

Returns: dboProductMaterialRelation[]

export class dboProductMaterialRelation [] {
Id:number
ProductMaterialId:number
ProductId:number
ModifyDate?:Date
UserId:number
}


(PUT) api/ProductMaterialRelation/Update

Params: model:dboProductMaterialRelation, languageId:number
export class dboProductMaterialRelation {
Id:number
ProductMaterialId:number
ProductId:number
ModifyDate?:Date
UserId:number
}

Returns: Json


(DELETE) api/ProductMaterialRelation/Delete

Params: id:number, languageId:number

Returns: Json



ProjectCategory : دسته بندی پروژه ها

(POST) api/ProjectCategory/Insert

Params: model:dboProjectCategory, languageId:number
export class dboProjectCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(POST) api/ProjectCategory/InsertList

Params: models:dboProjectCategory[], languageId:number
export class dboProjectCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(GET) api/ProjectCategory/SelectById

Params: id:number, languageId:number

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ProjectCategory/SelectAll

Params: languageId:number

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ProjectCategory/SelectAll

Params: languageId:number, forLang:boolean

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ProjectCategory/SelectAllWithoutMedia

Params: languageId:number

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ProjectCategory/SelectCategoryAll

Params: languageId:number

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ProjectCategory/SelectSubAll

Params: languageId:number

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ProjectCategory/SelectSubCategoriesById

Params: languageId:number, parentCategoryId:number, forLang:boolean

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ProjectCategory/SelectSubCategoriesByName

Params: languageId:number, parentCategoryName:string, forLang:boolean

Returns: dboProjectCategory[]

export class dboProjectCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(PUT) api/ProjectCategory/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/ProjectCategory/Update

Params: model:dboProjectCategory, languageId:number
export class dboProjectCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(PUT) api/ProjectCategory/UpdateList

Params: models:dboProjectCategory[], languageId:number
export class dboProjectCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Movie:string
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(DELETE) api/ProjectCategory/Delete

Params: id:number, languageId:number

Returns: Json



ProjectCategoryRelation : اختصاص پروژه به دسته بندی

(POST) api/ProjectCategoryRelation/Insert

Params: model:dboProjectCategoryRelation, languageId:number
export class dboProjectCategoryRelation {
Id:number
ProjectCategoryId:number
ProjectId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/ProjectCategoryRelation/SelectById

Params: id:number, languageId:number

Returns: dboProjectCategoryRelation

export class dboProjectCategoryRelation {
Id:number
ProjectCategoryId:number
ProjectId:number
ModifyDate:Date
UserId:number
}


(GET) api/ProjectCategoryRelation/SelectAll

Params: languageId:number

Returns: dboProjectCategoryRelation[]

export class dboProjectCategoryRelation [] {
Id:number
ProjectCategoryId:number
ProjectId:number
ModifyDate:Date
UserId:number
}


(GET) api/ProjectCategoryRelation/SelectByProjectId

Params: projectId:number, languageId:number

Returns: dboProjectCategoryRelation[]

export class dboProjectCategoryRelation [] {
Id:number
ProjectCategoryId:number
ProjectId:number
ModifyDate:Date
UserId:number
}


(PUT) api/ProjectCategoryRelation/Update

Params: model:dboProjectCategoryRelation, languageId:number
export class dboProjectCategoryRelation {
Id:number
ProjectCategoryId:number
ProjectId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/ProjectCategoryRelation/Delete

Params: id:number, languageId:number

Returns: Json



Project : پروژه ها

(POST) api/Project/Insert

Params: model:dboProject, languageId:number
export class dboProject {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/Project/InsertList

Params: models:dboProject[], languageId:number, categoryIds:string
export class dboProject {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Project/SelectById

Params: id:number, languageId:number

Returns: dboProject[]

export class dboProject [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}


(GET) api/Project/SelectAll

Params: languageId:number

Returns: dboProject[]

export class dboProject [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}


(GET) api/Project/SelectAllWithoutMedia

Params: languageId:number

Returns: dboProject[]

export class dboProject [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}


(PUT) api/Project/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/Project/Update

Params: model:dboProject, languageId:number
export class dboProject {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/Project/UpdateList

Params: models:dboProject[], languageId:number, categoryIds:string
export class dboProject {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Project/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Project/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboProject[]

export class dboProject [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
Seen?:number
ModifyDate:Date
UserId:number
}


(GET) api/Project/SelectByName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Project/SelectByCategoryName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Project/SelectByCategoryId

Params: id:number, languageId:number, forLang:boolean

Returns: Json



Request : درخواست

(POST) api/Request/Insert

Params: model:dboRequest, languageId:number
export class dboRequest {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/Request/InsertList

Params: models:dboRequest[], languageId:number
export class dboRequest {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Request/SelectAll

Params: languageId:number

Returns: dboRequest[]

export class dboRequest [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Request/SelectOneById

Params: id:number, languageId:number

Returns: dboRequest

export class dboRequest {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/Request/SelectById

Params: id:number, languageId:number, forLang:boolean

Returns: dboRequest[]

export class dboRequest [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/Request/Update

Params: model:dboRequest, languageId:number
export class dboRequest {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/Request/UpdateList

Params: models:dboRequest[], languageId:number
export class dboRequest {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Request/Delete

Params: id:number, languageId:number

Returns: Json



Search : جستوجو

(GET) api/Search/SelectAll

Params: languageId:number, query:string, skip:number, take:number

Returns: SerachResult[]

export class SerachResult [] {
Id:number
OrginalId:number
Type:string
Name:string
Title:string
ShortText:string
Image:string
PublishDate?:Date
}



SendingType : روش ارسال

(POST) api/SendingType/Insert

Params: model:dboSendingType, languageId:number
export class dboSendingType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/SendingType/InsertList

Params: models:dboSendingType[], languageId:number
export class dboSendingType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/SendingType/SelectById

Params: id:number, languageId:number

Returns: dboSendingType[]

export class dboSendingType [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(GET) api/SendingType/SelectAll

Params: languageId:number

Returns: dboSendingType[]

export class dboSendingType [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(GET) api/SendingType/SelectAllWithoutImage

Params: languageId:number

Returns: dboSendingType[]

export class dboSendingType [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/SendingType/Update

Params: model:dboSendingType, languageId:number
export class dboSendingType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/SendingType/UpdateList

Params: models:dboSendingType[], languageId:number
export class dboSendingType {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/SendingType/Delete

Params: id:number, languageId:number

Returns: Json



ServiceCategory : دسته بندی محصولات

(POST) api/ServiceCategory/Insert

Params: model:dboServiceCategory, languageId:number
export class dboServiceCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(POST) api/ServiceCategory/InsertList

Params: models:dboServiceCategory[], languageId:number
export class dboServiceCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(GET) api/ServiceCategory/SelectById

Params: id:number, languageId:number

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectById

Params: id:number, languageId:number, forLang:boolean

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectAll

Params: languageId:number

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectAll

Params: languageId:number, forLang:boolean

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectAllWithoutMedia

Params: languageId:number

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectCategoryAll

Params: languageId:number

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectCategoryAll

Params: languageId:number, forLang:boolean

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectSubAll

Params: languageId:number

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectSubAll

Params: languageId:number, forLang:boolean

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectSubCategoriesById

Params: languageId:number, parentCategoryId:number, forLang:boolean

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectSubCategoriesByName

Params: languageId:number, parentCategoryName:string, forLang:boolean

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(PUT) api/ServiceCategory/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/ServiceCategory/Update

Params: model:dboServiceCategory, languageId:number
export class dboServiceCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(PUT) api/ServiceCategory/UpdateList

Params: models:dboServiceCategory[], languageId:number
export class dboServiceCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(DELETE) api/ServiceCategory/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/ServiceCategory/SelectAllChild

Params: parentId:number[], languageId:number

Returns: dboServiceCategory[]

export class dboServiceCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/ServiceCategory/SelectServiceCountByCategoryId

Params: categoryId:number, languageId:number

Returns: Json



ServiceCategoryRelation : اختصاص محصول به دسته بندی

(POST) api/ServiceCategoryRelation/Insert

Params: model:dboServiceCategoryRelation, languageId:number
export class dboServiceCategoryRelation {
Id:number
ServiceCategoryId:number
ServiceId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/ServiceCategoryRelation/SelectById

Params: id:number, languageId:number

Returns: dboServiceCategoryRelation

export class dboServiceCategoryRelation {
Id:number
ServiceCategoryId:number
ServiceId:number
ModifyDate:Date
UserId:number
}


(GET) api/ServiceCategoryRelation/SelectAll

Params: languageId:number

Returns: dboServiceCategoryRelation[]

export class dboServiceCategoryRelation [] {
Id:number
ServiceCategoryId:number
ServiceId:number
ModifyDate:Date
UserId:number
}


(GET) api/ServiceCategoryRelation/SelectByServiceId

Params: serviceId:number, languageId:number

Returns: dboServiceCategoryRelation[]

export class dboServiceCategoryRelation [] {
Id:number
ServiceCategoryId:number
ServiceId:number
ModifyDate:Date
UserId:number
}


(PUT) api/ServiceCategoryRelation/Update

Params: model:dboServiceCategoryRelation, languageId:number
export class dboServiceCategoryRelation {
Id:number
ServiceCategoryId:number
ServiceId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/ServiceCategoryRelation/Delete

Params: id:number, languageId:number

Returns: Json



Service : محصولات

(POST) api/Service/Insert

Params: model:dboService, languageId:number
export class dboService {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}

Returns: Json


(POST) api/Service/InsertList

Params: models:dboService[], languageId:number, categoryIds:string
export class dboService {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}

Returns: Json


(GET) api/Service/SelectById

Params: id:number, languageId:number, forLang:boolean, withEmpty:boolean

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(GET) api/Service/SelectAll

Params: languageId:number

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(GET) api/Service/SelectAllHomePage

Params: languageId:number

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(GET) api/Service/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(GET) api/Service/SelectAllWithoutMedia

Params: languageId:number

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(PUT) api/Service/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/Service/Update

Params: model:dboService, languageId:number
export class dboService {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}

Returns: Json


(PUT) api/Service/UpdateList

Params: models:dboService[], languageId:number, categoryIds:string
export class dboService {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}

Returns: Json


(DELETE) api/Service/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Service/SelectByName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Service/DownloadFile

Params: languageId:number, id:number

Returns: HttpResponseMessage


(GET) api/Service/SelectByCategoryName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Service/SelectByCategoryId

Params: id:number, languageId:number, forLang:boolean

Returns: Json


(GET) api/Service/SelectPromotedServices

Params: languageId:number

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(GET) api/Service/SelectRelatedService

Params: id:number, languageId:number

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(GET) api/Service/SelectZeroServices

Params: languageId:number

Returns: dboService[]

export class dboService [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:number
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
New?:boolean
}


(GET) api/Service/Activate

Params: id:number, languageId:number

Returns: Json


(GET) api/Service/Deactivate

Params: id:number, languageId:number

Returns: Json



ServiceRequest : درخواست خدمات

(POST) api/ServiceRequest/Insert

Params: model:dboServiceRequest
export class dboServiceRequest {
Id:number
ServiceId:number
Image:string
Image2:string
ServiceName:string
CustomerId?:number
CustomerName:string
Seen?:boolean
Description:string
PhoneNumber:string
Mobile:string
Email:string
Address:string
Checkin?:boolean
InsertDate:Date
ModifyDate:Date
}

Returns: Json


(GET) api/ServiceRequest/SelectAll

Params:

Returns: dboServiceRequest[]

export class dboServiceRequest [] {
Id:number
ServiceId:number
Image:string
Image2:string
ServiceName:string
CustomerId?:number
CustomerName:string
Seen?:boolean
Description:string
PhoneNumber:string
Mobile:string
Email:string
Address:string
Checkin?:boolean
InsertDate:Date
ModifyDate:Date
}


(GET) api/ServiceRequest/SelectById

Params: id:number

Returns: dboServiceRequest

export class dboServiceRequest {
Id:number
ServiceId:number
Image:string
Image2:string
ServiceName:string
CustomerId?:number
CustomerName:string
Seen?:boolean
Description:string
PhoneNumber:string
Mobile:string
Email:string
Address:string
Checkin?:boolean
InsertDate:Date
ModifyDate:Date
}


(PUT) api/ServiceRequest/Update

Params: model:dboServiceRequest
export class dboServiceRequest {
Id:number
ServiceId:number
Image:string
Image2:string
ServiceName:string
CustomerId?:number
CustomerName:string
Seen?:boolean
Description:string
PhoneNumber:string
Mobile:string
Email:string
Address:string
Checkin?:boolean
InsertDate:Date
ModifyDate:Date
}

Returns: Json


(DELETE) api/ServiceRequest/Delete

Params: id:number

Returns: Json


(GET) api/ServiceRequest/SelectByUserId

Params: userid:number, languageId:number

Returns: dboServiceRequest[]

export class dboServiceRequest [] {
Id:number
ServiceId:number
Image:string
Image2:string
ServiceName:string
CustomerId?:number
CustomerName:string
Seen?:boolean
Description:string
PhoneNumber:string
Mobile:string
Email:string
Address:string
Checkin?:boolean
InsertDate:Date
ModifyDate:Date
}


(GET) api/ServiceRequest/SelectByServiceId

Params: serviceid:number, languageId:number

Returns: dboServiceRequest[]

export class dboServiceRequest [] {
Id:number
ServiceId:number
Image:string
Image2:string
ServiceName:string
CustomerId?:number
CustomerName:string
Seen?:boolean
Description:string
PhoneNumber:string
Mobile:string
Email:string
Address:string
Checkin?:boolean
InsertDate:Date
ModifyDate:Date
}



Shape : عکس های ثابت

(POST) api/Shape/Insert

Params: model:dboShape, languageId:number
export class dboShape {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/Shape/InsertList

Params: models:dboShape[], languageId:number
export class dboShape {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/Shape/SelectById

Params: id:number, languageId:number

Returns: dboShape[]

export class dboShape [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/Shape/SelectAll

Params: languageId:number

Returns: dboShape[]

export class dboShape [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/Shape/SelectAllWithoutImage

Params: languageId:number

Returns: dboShape[]

export class dboShape [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/Shape/Update

Params: model:dboShape, languageId:number
export class dboShape {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/Shape/UpdateList

Params: models:dboShape[], languageId:number
export class dboShape {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/Shape/Delete

Params: id:number, languageId:number

Returns: Json



SlideShow : اسلایدشو صفحه اول

(POST) api/SlideShow/Insert

Params: model:dboSlideShow, languageId:number
export class dboSlideShow {
Id:number
Code:Guid
Image:string
Name:string
Alt:string
Link:string
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/SlideShow/SelectById

Params: id:number, languageId:number

Returns: dboSlideShow

export class dboSlideShow {
Id:number
Code:Guid
Image:string
Name:string
Alt:string
Link:string
ModifyDate:Date
UserId:number
}


(GET) api/SlideShow/SelectAll

Params: languageId:number

Returns: dboSlideShow[]

export class dboSlideShow [] {
Id:number
Code:Guid
Image:string
Name:string
Alt:string
Link:string
ModifyDate:Date
UserId:number
}


(GET) api/SlideShow/SelectByCode

Params: code:string, languageId:number

Returns: dboSlideShow[]

export class dboSlideShow [] {
Id:number
Code:Guid
Image:string
Name:string
Alt:string
Link:string
ModifyDate:Date
UserId:number
}


(PUT) api/SlideShow/Update

Params: model:dboSlideShow, languageId:number
export class dboSlideShow {
Id:number
Code:Guid
Image:string
Name:string
Alt:string
Link:string
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/SlideShow/Delete

Params: id:number, languageId:number

Returns: Json



Social : شبکه های اجتماعی

(POST) api/Social/Insert

Params: model:dboSocial, languageId:number
export class dboSocial {
Id:number
Image1:string
Image2:string
Title:string
Link:string
Alt:string
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/Social/SelectAll

Params: languageId:number

Returns: dboSocial[]

export class dboSocial [] {
Id:number
Image1:string
Image2:string
Title:string
Link:string
Alt:string
ModifyDate:Date
UserId:number
}


(GET) api/Social/SelectAllWithoutImage

Params: languageId:number

Returns: dboSocial[]

export class dboSocial [] {
Id:number
Image1:string
Image2:string
Title:string
Link:string
Alt:string
ModifyDate:Date
UserId:number
}


(GET) api/Social/SelectById

Params: id:number, languageId:number

Returns: dboSocial

export class dboSocial {
Id:number
Image1:string
Image2:string
Title:string
Link:string
Alt:string
ModifyDate:Date
UserId:number
}


(PUT) api/Social/Update

Params: model:dboSocial, languageId:number
export class dboSocial {
Id:number
Image1:string
Image2:string
Title:string
Link:string
Alt:string
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/Social/Delete

Params: id:number, languageId:number

Returns: Json



Stage : مراحل CRM

(POST) api/Stage/Insert

Params: model:dboStage, languageId:number
export class dboStage {
Id:number
Title:string
PageTitle:string
Description:string
Notification:string
Icon:string
Order:number
ModifyDate:Date
UserId:number
WorkflowId:number
}

Returns: Json


(GET) api/Stage/SelectAll

Params: languageId:number

Returns: dboStage[]

export class dboStage [] {
Id:number
Title:string
PageTitle:string
Description:string
Notification:string
Icon:string
Order:number
ModifyDate:Date
UserId:number
WorkflowId:number
}


(GET) api/Stage/SelectById

Params: id:number, languageId:number

Returns: dboStage

export class dboStage {
Id:number
Title:string
PageTitle:string
Description:string
Notification:string
Icon:string
Order:number
ModifyDate:Date
UserId:number
WorkflowId:number
}


(PUT) api/Stage/Update

Params: model:dboStage, languageId:number
export class dboStage {
Id:number
Title:string
PageTitle:string
Description:string
Notification:string
Icon:string
Order:number
ModifyDate:Date
UserId:number
WorkflowId:number
}

Returns: Json


(DELETE) api/Stage/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Stage/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string

Returns: dboStage[]

export class dboStage [] {
Id:number
Title:string
PageTitle:string
Description:string
Notification:string
Icon:string
Order:number
ModifyDate:Date
UserId:number
WorkflowId:number
}


(POST) api/Stage/CompleteUserStage

Params: languageId:number, userId:number

Returns: Json


(GET) api/Stage/UsersInStages

Params: languageId:number

Returns: UserInStage[]

export class UserInStage [] {
UserId:number
Username:string
Company:string
StageId:number
StageName:string
StageOrder:number
LastUpdate:Date
}


(GET) api/Stage/CurrentStage

Params: languageId:number

Returns: dboStage

export class dboStage {
Id:number
Title:string
PageTitle:string
Description:string
Notification:string
Icon:string
Order:number
ModifyDate:Date
UserId:number
WorkflowId:number
}


(GET) api/Stage/SelectAllUserStages

Params: languageId:number

Returns: UserStages[]

export class UserStages [] {
UserId:number
StageName:string
StageId:number
Icon:string
State:number
Order:number
}



StageUser : CRM

(POST) api/StageUser/Insert

Params: model:dboStageUser, languageId:number
export class dboStageUser {
Id:number
StageId:number
SendUserId:number
IsConfirm:boolean
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/StageUser/SelectAll

Params: languageId:number

Returns: dboStageUser[]

export class dboStageUser [] {
Id:number
StageId:number
SendUserId:number
IsConfirm:boolean
ModifyDate:Date
UserId:number
}


(GET) api/StageUser/SelectById

Params: id:number, languageId:number

Returns: dboStageUser

export class dboStageUser {
Id:number
StageId:number
SendUserId:number
IsConfirm:boolean
ModifyDate:Date
UserId:number
}


(PUT) api/StageUser/Update

Params: model:dboStageUser, languageId:number
export class dboStageUser {
Id:number
StageId:number
SendUserId:number
IsConfirm:boolean
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/StageUser/Complete

Params: id:number, languageId:number

Returns: Json


(DELETE) api/StageUser/Delete

Params: id:number, languageId:number

Returns: Json



StaticImage : عکس های ثابت

(POST) api/StaticImage/Insert

Params: model:dboStaticImage, languageId:number
export class dboStaticImage {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/StaticImage/SelectByKey

Params: key:string, languageId:number, forLang:boolean

Returns: dboStaticImage[]

export class dboStaticImage [] {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticImage/SelectById

Params: id:number, languageId:number

Returns: dboStaticImage

export class dboStaticImage {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticImage/SelectAll

Params: languageId:number

Returns: dboStaticImage[]

export class dboStaticImage [] {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticImage/SelectAllWithoutImage

Params: languageId:number

Returns: dboStaticImage[]

export class dboStaticImage [] {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/StaticImage/Update

Params: model:dboStaticImage, languageId:number
export class dboStaticImage {
Id:number
Image:string
Name:string
Alt:string
Link:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/StaticImage/Delete

Params: id:number, languageId:number

Returns: Json



StaticTextCategory : گروه های استاتیک تکست ها

(POST) api/StaticTextCategory/Insert

Params: model:dboStaticTextCategory, languageId:number
export class dboStaticTextCategory {
Id:number
Text:string
}

Returns: Json


(GET) api/StaticTextCategory/SelectById

Params: id:number, languageId:number

Returns: dboStaticTextCategory

export class dboStaticTextCategory {
Id:number
Text:string
}


(GET) api/StaticTextCategory/SelectAll

Params: languageId:number

Returns: dboStaticTextCategory[]

export class dboStaticTextCategory [] {
Id:number
Text:string
}


(PUT) api/StaticTextCategory/Update

Params: model:dboStaticTextCategory, languageId:number
export class dboStaticTextCategory {
Id:number
Text:string
}

Returns: Json


(DELETE) api/StaticTextCategory/Delete

Params: id:number, languageId:number

Returns: Json



StaticText : متن های ثابت

(POST) api/StaticText/Insert

Params: model:dboStaticText, languageId:number
export class dboStaticText {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(POST) api/StaticText/InsertList

Params: models:dboStaticText[], languageId:number
export class dboStaticText {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/StaticText/SelectByKey

Params: key:string, languageId:number

Returns: dboStaticText[]

export class dboStaticText [] {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticText/SelectByCategoryId

Params: categoryId:number, languageId:number

Returns: dboStaticText[]

export class dboStaticText [] {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticText/SelectByCategoryId

Params: categoryId:number, languageId:number, forLang:boolean

Returns: dboStaticText[]

export class dboStaticText [] {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticText/SelectAll

Params: languageId:number

Returns: dboStaticText[]

export class dboStaticText [] {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticText/SelectAllGroup

Params: languageId:number

Returns: dboStaticText[]

export class dboStaticText [] {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(GET) api/StaticText/SelectAllByLangKeyValue

Params: languageId:number

Returns: String[]String[]

export class String [] {
Length:number
Chars:Char
}

export class String [] {
Length:number
Chars:Char
}


(GET) api/StaticText/SelectById

Params: id:number, languageId:number

Returns: dboStaticText[]

export class dboStaticText [] {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}


(PUT) api/StaticText/Update

Params: model:dboStaticText, languageId:number
export class dboStaticText {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(PUT) api/StaticText/UpdateList

Params: models:dboStaticText[], languageId:number
export class dboStaticText {
Id:number
CategoryId:number
StaticTextTypeId:number
Text:string
Description:string
Key:string
LanguageId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/StaticText/Delete

Params: id:number, languageId:number

Returns: Json



Style : عکس های ثابت

(POST) api/Style/Insert

Params: model:dboStyle, languageId:number
export class dboStyle {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/Style/InsertList

Params: models:dboStyle[], languageId:number
export class dboStyle {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/Style/SelectById

Params: id:number, languageId:number

Returns: dboStyle[]

export class dboStyle [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/Style/SelectAll

Params: languageId:number

Returns: dboStyle[]

export class dboStyle [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/Style/SelectAllWithoutImage

Params: languageId:number

Returns: dboStyle[]

export class dboStyle [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/Style/Update

Params: model:dboStyle, languageId:number
export class dboStyle {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/Style/UpdateList

Params: models:dboStyle[], languageId:number
export class dboStyle {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/Style/Delete

Params: id:number, languageId:number

Returns: Json



TimePeriod : بازه زمانی

(POST) api/TimePeriod/Insert

Params: model:dboTimePeriod
export class dboTimePeriod {
Id:number
From:string
To:string
ModifyDate:Date
}

Returns: Json


(GET) api/TimePeriod/SelectAll

Params:

Returns: dboTimePeriod[]

export class dboTimePeriod [] {
Id:number
From:string
To:string
ModifyDate:Date
}


(GET) api/TimePeriod/SelectById

Params: id:number

Returns: dboTimePeriod

export class dboTimePeriod {
Id:number
From:string
To:string
ModifyDate:Date
}


(PUT) api/TimePeriod/Update

Params: model:dboTimePeriod
export class dboTimePeriod {
Id:number
From:string
To:string
ModifyDate:Date
}

Returns: Json


(DELETE) api/TimePeriod/Delete

Params: id:number

Returns: Json



Tracking : ترک کردن کاربر

(POST) api/Tracking/Insert

Params: model:dboTracking, languageId:number
export class dboTracking {
Id:number
PagesId:number
SubPage:string
IpAddress:string
Loading:boolean
InsertDate:Date
}

Returns: Json


(GET) api/Tracking/SelectById

Params: id:number, languageId:number

Returns: dboTracking

export class dboTracking {
Id:number
PagesId:number
SubPage:string
IpAddress:string
Loading:boolean
InsertDate:Date
}


(GET) api/Tracking/SelectAll

Params: languageId:number

Returns: dboTracking[]

export class dboTracking [] {
Id:number
PagesId:number
SubPage:string
IpAddress:string
Loading:boolean
InsertDate:Date
}


(PUT) api/Tracking/Update

Params: model:dboTracking, languageId:number
export class dboTracking {
Id:number
PagesId:number
SubPage:string
IpAddress:string
Loading:boolean
InsertDate:Date
}

Returns: Json


(DELETE) api/Tracking/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Tracking/SelectViewCountLast

Params: languageId:number

Returns: ViewCountLast[]

export class ViewCountLast [] {
Value:number
InsertDate:Date
}


(GET) api/Tracking/SelectWithStep

Params: languageId:number

Returns: Tracking[]

export class Tracking [] {
PageId:number
Key:string
IpAddress:string
LoadPage:string
UnloadPage:string
StopPage:number
Rno:number
}



UserClass : کلاس کاربران

(POST) api/UserClass/Insert

Params: model:dboUserClass
export class dboUserClass {
Id:number
OrginalId?:number
Name:string
value:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/UserClass/SelectAll

Params:

Returns: dboUserClass[]

export class dboUserClass [] {
Id:number
OrginalId?:number
Name:string
value:number
ModifyDate:Date
UserId:number
}


(GET) api/UserClass/SelectById

Params: id:number

Returns: dboUserClass

export class dboUserClass {
Id:number
OrginalId?:number
Name:string
value:number
ModifyDate:Date
UserId:number
}


(PUT) api/UserClass/Update

Params: model:dboUserClass
export class dboUserClass {
Id:number
OrginalId?:number
Name:string
value:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/UserClass/Delete

Params: id:number

Returns: Json



User : کاربران مخاطب

(POST) api/User/Insert

Params: model:dboUser, languageId:number
export class dboUser {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}

Returns: Json


(GET) api/User/SelectAll

Params: languageId:number

Returns: dboUser[]

export class dboUser [] {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}


(GET) api/User/SelectById

Params: id:number, languageId:number

Returns: dboUser

export class dboUser {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}


(PUT) api/User/Update

Params: model:dboUser, languageId:number
export class dboUser {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}

Returns: Json


(DELETE) api/User/Delete

Params: id:number, languageId:number

Returns: Json


(POST) api/User/SendCode

Params: model:dboUser, languageId:number
export class dboUser {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}

Returns: Login

export class Login {
Token:string
Name:string
Email:string
Mobile:string
Id:string
}


(POST) api/User/ConfirmCode

Params: model:dboUser, languageId:number
export class dboUser {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}

Returns: Login

export class Login {
Token:string
Name:string
Email:string
Mobile:string
Id:string
}


(POST) api/User/Login

Params: model:dboUser, languageId:number
export class dboUser {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}

Returns: Login

export class Login {
Token:string
Name:string
Email:string
Mobile:string
Id:string
}


(POST) api/User/MobileLogin

Params: model:dboUser, languageId:number
export class dboUser {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}

Returns: Login

export class Login {
Token:string
Name:string
Email:string
Mobile:string
Id:string
}


(POST) api/User/ForgotPassword

Params: email:string, languageId:number

Returns: Json


(POST) api/User/ForgotPasswordMobile

Params: mobile:string, languageId:number

Returns: Json


(GET) api/User/SelectAllRegistered

Params: languageId:number

Returns: dboUserDto[]

export class dboUserDto [] {
Stage:string
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}


(GET) api/User/SelectAllNotRegistered

Params: languageId:number

Returns: dboUser[]

export class dboUser [] {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}


(GET) api/User/SelectAllDeactive

Params: languageId:number

Returns: dboUser[]

export class dboUser [] {
Id:number
UserClassId:number
UserClassName:string
UserRoleId:number
UserRoleName:string
RequestId?:number
RequestName:string
Name:string
FullName:string
Email:string
Password:string
Company:string
Mobile:string
PhoneNumber:string
LastInvoiceNumber:string
Message:string
Attachment:string
JobTitle:string
isRegisterd:boolean
isSubmitRole:boolean
IsApproved:boolean
InsertDate:Date
ModifyDate:Date
UserId:number
ConfirmCode:string
ExpConfirmCode?:Date
Deactivate?:boolean
ProjectId:number
UserAddress:string
}


(GET) api/User/Activate

Params: id:number, languageId:number

Returns: Json


(GET) api/User/AddToWorkflow

Params: id:number, languageId:number

Returns: Json


(GET) api/User/Deactivate

Params: id:number, languageId:number

Returns: Json


(GET) api/User/IsAuthenticated

Params:

Returns: Json



UserFactorNumber : بازه زمانی

(POST) api/UserFactorNumber/Insert

Params: model:dboUserFactorNumber
export class dboUserFactorNumber {
Id:number
Username:string
Code:string
ModifyDate:Date
}

Returns: Json


(GET) api/UserFactorNumber/SelectAll

Params:

Returns: dboUserFactorNumber[]

export class dboUserFactorNumber [] {
Id:number
Username:string
Code:string
ModifyDate:Date
}


(GET) api/UserFactorNumber/SelectById

Params: id:number

Returns: dboUserFactorNumber

export class dboUserFactorNumber {
Id:number
Username:string
Code:string
ModifyDate:Date
}


(PUT) api/UserFactorNumber/Update

Params: model:dboUserFactorNumber
export class dboUserFactorNumber {
Id:number
Username:string
Code:string
ModifyDate:Date
}

Returns: Json


(DELETE) api/UserFactorNumber/Delete

Params: id:number

Returns: Json



UserRole : کلاس کاربران

(POST) api/UserRole/Insert

Params: model:dboUserRole
export class dboUserRole {
Id:number
Name:string
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/UserRole/SelectAll

Params:

Returns: dboUserRole[]

export class dboUserRole [] {
Id:number
Name:string
ModifyDate:Date
UserId:number
}


(GET) api/UserRole/SelectById

Params: id:number

Returns: dboUserRole

export class dboUserRole {
Id:number
Name:string
ModifyDate:Date
UserId:number
}


(PUT) api/UserRole/Update

Params: model:dboUserRole
export class dboUserRole {
Id:number
Name:string
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/UserRole/Delete

Params: id:number

Returns: Json



Weave : عکس های ثابت

(POST) api/Weave/Insert

Params: model:dboWeave, languageId:number
export class dboWeave {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/Weave/InsertList

Params: models:dboWeave[], languageId:number
export class dboWeave {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/Weave/SelectById

Params: id:number, languageId:number

Returns: dboWeave[]

export class dboWeave [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(GET) api/Weave/SelectAll

Params: languageId:number

Returns: dboWeave[]

export class dboWeave [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(GET) api/Weave/SelectAllWithoutImage

Params: languageId:number

Returns: dboWeave[]

export class dboWeave [] {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/Weave/Update

Params: model:dboWeave, languageId:number
export class dboWeave {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/Weave/UpdateList

Params: models:dboWeave[], languageId:number
export class dboWeave {
Id:number
OrginalId?:number
Name:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/Weave/Delete

Params: id:number, languageId:number

Returns: Json



WeblogCategory : دسته بندی وبلاگ

(POST) api/WeblogCategory/Insert

Params: model:dboWeblogCategory, languageId:number
export class dboWeblogCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(POST) api/WeblogCategory/InsertList

Params: models:dboWeblogCategory[], languageId:number
export class dboWeblogCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(GET) api/WeblogCategory/SelectById

Params: id:number, languageId:number

Returns: dboWeblogCategory[]

export class dboWeblogCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/WeblogCategory/SelectAll

Params: languageId:number

Returns: dboWeblogCategory[]

export class dboWeblogCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/WeblogCategory/SelectAllWithoutMedia

Params: languageId:number

Returns: dboWeblogCategory[]

export class dboWeblogCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/WeblogCategory/SelectCategoryAll

Params: languageId:number

Returns: dboWeblogCategory[]

export class dboWeblogCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/WeblogCategory/SelectSubAll

Params: languageId:number

Returns: dboWeblogCategory[]

export class dboWeblogCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/WeblogCategory/SelectSubCategoriesById

Params: languageId:number, parentCategoryId:number, forLang:boolean

Returns: dboWeblogCategory[]

export class dboWeblogCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(GET) api/WeblogCategory/SelectSubCategoriesByName

Params: languageId:number, parentCategoryName:string, forLang:boolean

Returns: dboWeblogCategory[]

export class dboWeblogCategory [] {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}


(PUT) api/WeblogCategory/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/WeblogCategory/Update

Params: model:dboWeblogCategory, languageId:number
export class dboWeblogCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(PUT) api/WeblogCategory/UpdateList

Params: models:dboWeblogCategory[], languageId:number
export class dboWeblogCategory {
Id:number
OrginalId?:number
ParentId?:number
Name:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
}

Returns: Json


(DELETE) api/WeblogCategory/Delete

Params: id:number, languageId:number

Returns: Json



WeblogCategoryRelation : اختصاص وبلاگ به دسته بندی

(POST) api/WeblogCategoryRelation/Insert

Params: model:dboWeblogCategoryRelation, languageId:number
export class dboWeblogCategoryRelation {
Id:number
WeblogCategoryId:number
WeblogId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(GET) api/WeblogCategoryRelation/SelectById

Params: id:number, languageId:number

Returns: dboWeblogCategoryRelation

export class dboWeblogCategoryRelation {
Id:number
WeblogCategoryId:number
WeblogId:number
ModifyDate:Date
UserId:number
}


(GET) api/WeblogCategoryRelation/SelectAll

Params: languageId:number

Returns: dboWeblogCategoryRelation[]

export class dboWeblogCategoryRelation [] {
Id:number
WeblogCategoryId:number
WeblogId:number
ModifyDate:Date
UserId:number
}


(GET) api/WeblogCategoryRelation/SelectByWeblogId

Params: weblogId:number, languageId:number

Returns: dboWeblogCategoryRelation[]

export class dboWeblogCategoryRelation [] {
Id:number
WeblogCategoryId:number
WeblogId:number
ModifyDate:Date
UserId:number
}


(PUT) api/WeblogCategoryRelation/Update

Params: model:dboWeblogCategoryRelation, languageId:number
export class dboWeblogCategoryRelation {
Id:number
WeblogCategoryId:number
WeblogId:number
ModifyDate:Date
UserId:number
}

Returns: Json


(DELETE) api/WeblogCategoryRelation/Delete

Params: id:number, languageId:number

Returns: Json



Weblog : وبلاگ

(POST) api/Weblog/Insert

Params: model:dboWeblog, languageId:number
export class dboWeblog {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}

Returns: Json


(POST) api/Weblog/InsertList

Params: models:dboWeblog[], languageId:number, categoryIds:string
export class dboWeblog {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}

Returns: Json


(GET) api/Weblog/SelectAll

Params: languageId:number, forHome:boolean

Returns: dboWeblog[]

export class dboWeblog [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}


(GET) api/Weblog/SelectAllWithoutMedia

Params: languageId:number

Returns: dboWeblog[]

export class dboWeblog [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}


(GET) api/Weblog/SelectById

Params: id:number, languageId:number

Returns: dboWeblog[]

export class dboWeblog [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}


(PUT) api/Weblog/Duplicate

Params: id:number, languageId:number

Returns: Json


(PUT) api/Weblog/Update

Params: model:dboWeblog, languageId:number
export class dboWeblog {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}

Returns: Json


(PUT) api/Weblog/UpdateList

Params: models:dboWeblog[], languageId:number, categoryIds:string
export class dboWeblog {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}

Returns: Json


(DELETE) api/Weblog/Delete

Params: id:number, languageId:number

Returns: Json


(GET) api/Weblog/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string, forHome:boolean, withMedi:boolean, forLang:boolean

Returns: dboWeblog[]

export class dboWeblog [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}


(GET) api/Weblog/SelectByName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Weblog/SelectByCategoryName

Params: name:string, languageId:number, forLang:boolean

Returns: Json


(GET) api/Weblog/SelectByCategoryId

Params: id:number, languageId:number, forLang:boolean

Returns: Json


(GET) api/Weblog/DownloadFile

Params: languageId:number, id:number

Returns: HttpResponseMessage


(GET) api/Weblog/SelectByUserId

Params: userId:number, languageId:number

Returns: dboWeblog[]

export class dboWeblog [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Username:string
IsApproved:boolean
Rate:Decimal
}



Wishlist : علاقمندی ها

(POST) api/Wishlist/Insert

Params: model:dboWishlist
export class dboWishlist {
Id:number
UserId:number
UserName:string
ProductId:number
ProductName:string
LanguageId:number
InsertDate:Date
ModifyDate:Date
}

Returns: Json


(GET) api/Wishlist/SelectAll

Params:

Returns: dboWishlist[]

export class dboWishlist [] {
Id:number
UserId:number
UserName:string
ProductId:number
ProductName:string
LanguageId:number
InsertDate:Date
ModifyDate:Date
}


(GET) api/Wishlist/SelectById

Params: id:number

Returns: dboWishlist

export class dboWishlist {
Id:number
UserId:number
UserName:string
ProductId:number
ProductName:string
LanguageId:number
InsertDate:Date
ModifyDate:Date
}


(PUT) api/Wishlist/Update

Params: model:dboWishlist
export class dboWishlist {
Id:number
UserId:number
UserName:string
ProductId:number
ProductName:string
LanguageId:number
InsertDate:Date
ModifyDate:Date
}

Returns: Json


(DELETE) api/Wishlist/Delete

Params: id:number

Returns: Json


(GET) api/Wishlist/selectWishlistByUserId

Params: userid:number, languageId:number

Returns: dboWishlist[]

export class dboWishlist [] {
Id:number
UserId:number
UserName:string
ProductId:number
ProductName:string
LanguageId:number
InsertDate:Date
ModifyDate:Date
}


(POST) api/Wishlist/AddToWishlist

Params: model:dboWishlist
export class dboWishlist {
Id:number
UserId:number
UserName:string
ProductId:number
ProductName:string
LanguageId:number
InsertDate:Date
ModifyDate:Date
}

Returns: Json


(GET) api/Wishlist/RemoveFromWishlist

Params: productId:number

Returns: Json


(GET) api/Wishlist/SelectWishlistProducts

Params: languageId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Wishlist/SelectWishlistProducts

Params: languageId:number, userId:number

Returns: dboProduct[]

export class dboProduct [] {
Id:number
OrginalId?:number
Name:string
Thumbnail:string
Image:string
Image2:string
AttachmentCode?:Guid
MultiMediaCode?:Guid
VideoCode?:Guid
GalleryCode?:Guid
Title:string
PageTitle:string
PageDescription:string
PageKeyword:string
ShortText:string
LongText:string
LongText2:string
Order?:number
PublishDate?:Date
CustomDate?:Date
ShowHomePage:boolean
ExpShowOnHomePage?:Date
OrderPin:boolean
LanguageId:number
ModifyDate:Date
UserId:number
Seen?:number
Price?:Decimal
DiscountType?:number
DiscountPercentage?:number
DiscountAmount?:number
Quantity?:number
IsNew?:boolean
Orderable?:boolean
Deactivate?:boolean
Area?:Decimal
Height?:Decimal
Width?:Decimal
Depth?:Decimal
ExpDiscount?:Date
ProductCode:string
Customizable?:boolean
IsManualPrice?:boolean
Color1Id?:number
Color2Id?:number
Color3Id?:number
Color4Id?:number
Color5Id?:number
ShapeId?:number
StyleId?:number
FurnishBaseId?:number
WoodTypeId?:number
WeaveId?:number
FurnishTypeId?:number
FurnishColor1Id?:number
FurnishColor2Id?:number
FurnishColor3Id?:number
Weight:Decimal
Antiquity:string
Origin:string
}


(GET) api/Wishlist/SelectWishlistProductUsersCount

Params: languageId:number, productId:number

Returns: Json



WoodType : عکس های ثابت

(POST) api/WoodType/Insert

Params: model:dboWoodType, languageId:number
export class dboWoodType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(POST) api/WoodType/InsertList

Params: models:dboWoodType[], languageId:number
export class dboWoodType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(GET) api/WoodType/SelectById

Params: id:number, languageId:number

Returns: dboWoodType[]

export class dboWoodType [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/WoodType/SelectAll

Params: languageId:number

Returns: dboWoodType[]

export class dboWoodType [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(GET) api/WoodType/SelectAllWithoutImage

Params: languageId:number

Returns: dboWoodType[]

export class dboWoodType [] {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}


(PUT) api/WoodType/Update

Params: model:dboWoodType, languageId:number
export class dboWoodType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(PUT) api/WoodType/UpdateList

Params: models:dboWoodType[], languageId:number
export class dboWoodType {
Id:number
OrginalId?:number
Name:string
Image:string
Image2:string
LanguageId:number
ModifyDate:Date
}

Returns: Json


(DELETE) api/WoodType/Delete

Params: id:number, languageId:number

Returns: Json



Workflow : ورک فلو پیش فرض سیستم

(PUT) api/Workflow/Complete

Params: languageId:number, workflowId:number

Returns: Json


(GET) api/Workflow/SelectAll

Params: languageId:number

Returns: dboWorkflow[]

export class dboWorkflow [] {
Id:number
Name:string
IsComplete:boolean
}


(GET) api/Workflow/GetWorkflow

Params: languageId:number

Returns: dboWorkflow

export class dboWorkflow {
Id:number
Name:string
IsComplete:boolean
}


(POST) api/Workflow/Renew

Params: languageId:number

Returns: Json



YaksFormsData : فرم ها Yaks

(POST) api/YaksFormsData/Insert

Params: model:dboFormsData, languageId:number
export class dboFormsData {
Id:number
FormsId:number
FormsName:string
FullName:string
Phone:string
MobileNo:string
Email:string
Description:string
Attach:string
Value:string
Audience:string
ModifyDate:Date
RequestId:number
RequestName:string
Username:string
Address:string
Company:string
Image:string
Attachment:string
BirthDate:Date
Carrier:string
}

Returns: Json


(GET) api/YaksFormsData/SelectById

Params: id:number, languageId:number

Returns: dboFormsData

export class dboFormsData {
Id:number
FormsId:number
FormsName:string
FullName:string
Phone:string
MobileNo:string
Email:string
Description:string
Attach:string
Value:string
Audience:string
ModifyDate:Date
RequestId:number
RequestName:string
Username:string
Address:string
Company:string
Image:string
Attachment:string
BirthDate:Date
Carrier:string
}


(GET) api/YaksFormsData/SelectAll

Params: languageId:number

Returns: dboFormsData[]

export class dboFormsData [] {
Id:number
FormsId:number
FormsName:string
FullName:string
Phone:string
MobileNo:string
Email:string
Description:string
Attach:string
Value:string
Audience:string
ModifyDate:Date
RequestId:number
RequestName:string
Username:string
Address:string
Company:string
Image:string
Attachment:string
BirthDate:Date
Carrier:string
}


(GET) api/YaksFormsData/SelectAllExports

Params: languageId:number

Returns: String[]

export class String [] {
Length:number
Chars:Char
}


(GET) api/YaksFormsData/SelectAllByFormId

Params: languageId:number, formId:number

Returns: dboFormsData[]

export class dboFormsData [] {
Id:number
FormsId:number
FormsName:string
FullName:string
Phone:string
MobileNo:string
Email:string
Description:string
Attach:string
Value:string
Audience:string
ModifyDate:Date
RequestId:number
RequestName:string
Username:string
Address:string
Company:string
Image:string
Attachment:string
BirthDate:Date
Carrier:string
}


(GET) api/YaksFormsData/Select

Params: languageId:number, skip:number, take:number, orderBy:string, sort:string

Returns: dboFormsData[]

export class dboFormsData [] {
Id:number
FormsId:number
FormsName:string
FullName:string
Phone:string
MobileNo:string
Email:string
Description:string
Attach:string
Value:string
Audience:string
ModifyDate:Date
RequestId:number
RequestName:string
Username:string
Address:string
Company:string
Image:string
Attachment:string
BirthDate:Date
Carrier:string
}


(GET) api/YaksFormsData/Select

Params: languageId:number, formId:number, skip:number, take:number, orderBy:string, sort:string

Returns: dboFormsData[]

export class dboFormsData [] {
Id:number
FormsId:number
FormsName:string
FullName:string
Phone:string
MobileNo:string
Email:string
Description:string
Attach:string
Value:string
Audience:string
ModifyDate:Date
RequestId:number
RequestName:string
Username:string
Address:string
Company:string
Image:string
Attachment:string
BirthDate:Date
Carrier:string
}


(PUT) api/YaksFormsData/Update

Params: model:dboFormsData, languageId:number
export class dboFormsData {
Id:number
FormsId:number
FormsName:string
FullName:string
Phone:string
MobileNo:string
Email:string
Description:string
Attach:string
Value:string
Audience:string
ModifyDate:Date
RequestId:number
RequestName:string
Username:string
Address:string
Company:string
Image:string
Attachment:string
BirthDate:Date
Carrier:string
}

Returns: Json


(DELETE) api/YaksFormsData/Delete

Params: id:number, languageId:number

Returns: Json


(DELETE) api/YaksFormsData/DeleteAllByFormsId

Params: formsId:number, languageId:number

Returns: Json


(GET) api/YaksFormsData/FormDataCount

Params: languageId:number

Returns: FormData[]

export class FormData [] {
FormId:number
FormName:string
AllDataCount:number
LastDayDataCount:number
}


(GET) api/YaksFormsData/Export

Params: languageId:number, formsId:number

Returns: Json