POST api/support/v1/configurateNominaId
Congigurar nomina ID del grantor
Request Information
URI Parameters
None.
Body Parameters
Objeto que contiene propiedades de grantor y nomina
AddNominaModelName | Description | Type | Additional information |
---|---|---|---|
GrantorId | globally unique identifier |
None. |
|
NominaId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "GrantorId": "08dd2e49-943e-7e12-ba1f-9f1e94b2bdf2", "NominaId": 2 }
application/xml, text/xml
Sample:
<AddNominaModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <GrantorId>08dd2e49-943e-7e12-ba1f-9f1e94b2bdf2</GrantorId> <NominaId>2</NominaId> </AddNominaModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage con la estructura adecuada para comprobar si la respuesta es correcta o incorrecta.
ResponseModelApiOfBooleanName | Description | Type | Additional information |
---|---|---|---|
success |
Indica si la solicitud se procesó de manera satisfactoria |
boolean |
None. |
message |
Mensaje de la solicitud |
string |
None. |
messageDetail |
Lista de mensajes |
Collection of string |
None. |
failureCode |
Código de error en caso de existir |
string |
None. |
data |
Layout de respuesta de la solicitud |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "message": "sample string 2", "messageDetail": [ "sample string 1", "sample string 2" ], "failureCode": "sample string 3", "data": true }
application/xml, text/xml
Sample:
<ResponseModelApiOfBoolean xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <success>true</success> <message>sample string 2</message> <messageDetail> <string>sample string 1</string> <string>sample string 2</string> </messageDetail> <failureCode>sample string 3</failureCode> <data>true</data> </ResponseModelApiOfBoolean>