Functions and Usage

Goo API Functions and Usage

Functions

Parameters

Return

CreateDir

{ name : "STRING", data : "OBJECT"}

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

UpdateDir

{ _id : "STRING", name : "STRING", data: "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

AddGrpToDir

{ name : "STRING", goupId : "STRING" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

RemoveGrpFromDir

{ name : "STRING", goupId : "STRING" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

FindDir

{ condition : "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

CreateGrp

{ name : "STRING", data : "OBJECT"}

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

UpdateGrp

{ _id : "STRING", name : "STRING", data: "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

RemoveGrp

{ condition : "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

AppendGrp

{ condition : "OBJECT", data: "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING"}

GetChildGrp

{ condition : "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

FindGrp

{ condition : "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}

FindTreeGrp

{ condition : "OBJECT" }

{ RstCode : "STRING", RstMsg:"STRING", Data: "OBJRCT"}