Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General Information

...

NameSourceMandatoryTypeSpecial FormatDescription
groupsBodyYESObjectIncludes one of id or code arraysGroups object

One of the following should exist under the groups object:

NameMandatoryTypeSpecial FormatDescription
idsYESArrayArray of StringsUser ID
codesYESArrayArray of StringsUsername


packagesBodyYESArrayArray of ObjectsPackages


NameTypeDescription
productStringProduct Code
packagesArray of StringsAn array of Package Codes


Output

...

Response

SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response 

...

Code Block
languagejs
titleValid Response Sample
linenumberstrue
collapsetrue
{ 
  result: true,
  data: 2true
}

Invalid Response

Code Block
languagejs
titleError Response Sample
linenumberstrue
collapsetrue
{
    "result":false,
    "errors":{
        "codes":[602],
        "details":[
            {
                "code":602,
                "message":"Model error: + %model_error%"
            }
        ]
    }
}

...