POST api/support/v1/migration/validate

Validar si el rfc puede migrarse de dito2 a d4

Request Information

URI Parameters

None.

Body Parameters

MigrationViewModel
NameDescriptionTypeAdditional information
GrantorTaxId

string

Required

ServiceProviderId

byte

Required

RecurrenceId

string

Required

Email

string

Required

Matching regular expression pattern: ^((?:[\w-]+\.)*\w[\w-]{0,63})@((?:[\w-]+\.)*\w[\w-]{0,98})\.([a-zA-Z]{2,15}(?:\.[a-zA-Z]{2})?)$

Request Formats

application/json, text/json

Sample:
{
  "GrantorTaxId": "sample string 1",
  "ServiceProviderId": 64,
  "RecurrenceId": "sample string 3",
  "Email": "sample string 4"
}

application/xml, text/xml

Sample:
<MigrationViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <GrantorTaxId>sample string 1</GrantorTaxId>
  <ServiceProviderId>64</ServiceProviderId>
  <RecurrenceId>sample string 3</RecurrenceId>
  <Email>sample string 4</Email>
</MigrationViewModel>

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

Response Information

Resource Description

ResponseModelApiOfBoolean
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

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>