POST api/SIC

Reportar documento al SIC

Request Information

URI Parameters

None.

Body Parameters

Layout con información para enviar al sic

AddSICModelApi
NameDescriptionTypeAdditional information
GrantorId

Identificador único del grantor

globally unique identifier

Required

DocumentId

Identificador único del documento

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "GrantorId": "08dd2e4c-6ef7-c194-ba1f-9f30f40db8d3",
  "DocumentId": "08dd2e4c-6ef7-c194-ba1f-9f30f40db8d4"
}

application/xml, text/xml

Sample:
<AddSICModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <GrantorId>08dd2e4c-6ef7-c194-ba1f-9f30f40db8d3</GrantorId>
  <DocumentId>08dd2e4c-6ef7-c194-ba1f-9f30f40db8d4</DocumentId>
</AddSICModelApi>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddSICModelApi'.

Response Information

Resource Description

ResponseModelApiOfObject
NameDescriptionTypeAdditional 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

Object

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": {}
}

application/xml, text/xml

Sample:
<ResponseModelApiOfObject 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 />
</ResponseModelApiOfObject>