POST api/ConfigurationNotification

Clonar plantilla

Request Information

URI Parameters

None.

Body Parameters

Datos

NotificationSchemaPostModelApi
NameDescriptionTypeAdditional information
NotificationSchemaId

Indetificador de la plantilla origen

globally unique identifier

None.

GrantorTaxId

RFC del grantor

string

None.

NotificationSchemaName

Nombre de la plantilla

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NotificationSchemaId": "08dd2e47-dcd8-d98f-522b-6e3108c3f5b1",
  "GrantorTaxId": "sample string 2",
  "NotificationSchemaName": "sample string 3"
}

application/xml, text/xml

Sample:
<NotificationSchemaPostModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NotificationSchemaId>08dd2e47-dcd8-d98f-522b-6e3108c3f5b1</NotificationSchemaId>
  <GrantorTaxId>sample string 2</GrantorTaxId>
  <NotificationSchemaName>sample string 3</NotificationSchemaName>
</NotificationSchemaPostModelApi>

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

Response Information

Resource Description

ResponseModelApiOfGuid
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

globally unique identifier

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": "08dd2e47-dcd8-d98f-522b-6e3108c3f5b2"
}

application/xml, text/xml

Sample:
<ResponseModelApiOfGuid 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>08dd2e47-dcd8-d98f-522b-6e3108c3f5b2</data>
</ResponseModelApiOfGuid>