Entrar

Resolver refs de person em lote (por role)

POST https://{organization}.myguper.com/api/register/{interface}/person/{role}/_resolve

Lookup em lote: passa um array JSON de refIds, recebe um mapa refId -> personId | null para o {role}. Até 500 refIds. Otimizado para hot paths de order/translate.

Try-it values populated from environment ACME (Demo)


Autenticação

Token

Send your user token in the x-guper-authorization header.

Cabeçalhos

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Corpo da requisição

Content-Type: application/json

{
    "(array of strings)": "[\"99\", \"100\", \"FAKE-DOES-NOT-EXIST\"]"
}

Respostas

{"99":620977,"100":620980,"FAKE-DOES-NOT-EXIST":null}
Copied to clipboard