POST api/support/v1/AddNotification

Iniciar envio de notificaciones

Request Information

URI Parameters

None.

Body Parameters

NotificationViewModel
NameDescriptionTypeAdditional information
NotificationRequestTypeId

integer

None.

GrantorTaxId

string

None.

CommunityCode

string

None.

SubGroupCode

string

None.

epo

string

None.

NotificationUserTypeId

integer

None.

subject

string

None.

content

string

None.

NotificationUserTypeIds

string

None.

NotificationUsers

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NotificationRequestTypeId": 1,
  "GrantorTaxId": "sample string 2",
  "CommunityCode": "sample string 3",
  "SubGroupCode": "sample string 4",
  "epo": "sample string 5",
  "NotificationUserTypeId": 6,
  "subject": "sample string 7",
  "content": "sample string 8",
  "NotificationUserTypeIds": "sample string 9",
  "NotificationUsers": "sample string 10"
}

application/xml, text/xml

Sample:
<NotificationViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NotificationRequestTypeId>1</NotificationRequestTypeId>
  <GrantorTaxId>sample string 2</GrantorTaxId>
  <CommunityCode>sample string 3</CommunityCode>
  <SubGroupCode>sample string 4</SubGroupCode>
  <epo>sample string 5</epo>
  <NotificationUserTypeId>6</NotificationUserTypeId>
  <subject>sample string 7</subject>
  <content>sample string 8</content>
  <NotificationUserTypeIds>sample string 9</NotificationUserTypeIds>
  <NotificationUsers>sample string 10</NotificationUsers>
</NotificationViewModel>

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

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>