PUT api/Grantor/InboxSat

Actualizar datos de buzón tributario.

Request Information

URI Parameters

None.

Body Parameters

Datos

UpdateBuzonApiModel
NameDescriptionTypeAdditional information
GrantorTaxId

RFC de la empresa

string

Required

Data

Datos a actualizar

BuzonApiModel

Required

Request Formats

application/json, text/json

Sample:
{
  "GrantorTaxId": "sample string 1",
  "Data": {
    "Ciec": "sample string 1",
    "SatInvoiceFromDate": "2025-01-06T05:54:30.5851886-06:00",
    "SatInvoiceFromDateSave": "2025-01-06T05:54:30.5851886-06:00"
  }
}

application/xml, text/xml

Sample:
<UpdateBuzonApiModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <GrantorTaxId>sample string 1</GrantorTaxId>
  <Data>
    <Ciec>sample string 1</Ciec>
    <SatInvoiceFromDate>2025-01-06T05:54:30.5851886-06:00</SatInvoiceFromDate>
    <SatInvoiceFromDateSave>2025-01-06T05:54:30.5851886-06:00</SatInvoiceFromDateSave>
  </Data>
</UpdateBuzonApiModel>

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 'UpdateBuzonApiModel'.

Response Information

Resource Description

ResponseModelApiOfUpdateBuzonApiModel
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

UpdateBuzonApiModel

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": {
    "GrantorTaxId": "sample string 1",
    "Data": {
      "Ciec": "sample string 1",
      "SatInvoiceFromDate": "2025-01-06T05:54:30.5851886-06:00",
      "SatInvoiceFromDateSave": "2025-01-06T05:54:30.5851886-06:00"
    }
  }
}

application/xml, text/xml

Sample:
<ResponseModelApiOfUpdateBuzonApiModel 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>
    <GrantorTaxId>sample string 1</GrantorTaxId>
    <Data>
      <Ciec>sample string 1</Ciec>
      <SatInvoiceFromDate>2025-01-06T05:54:30.5851886-06:00</SatInvoiceFromDate>
      <SatInvoiceFromDateSave>2025-01-06T05:54:30.5851886-06:00</SatInvoiceFromDateSave>
    </Data>
  </data>
</ResponseModelApiOfUpdateBuzonApiModel>