POST api/Messages/Send2715

Send GetDOC_MSG2715_2716_AddAttachmentResponse_In to Customs

Request Information

URI Parameters

None.

Body Parameters

TaskyamWebAPI.Models.Send2715Request
NameDescriptionTypeAdditional information
RequestHeader

TaskyamWebAPI.Models.RequestHeader

None.

RequestObjSigned

Neta.NetaReceiversAssemblies.Service_2715.ESBRequestSigned

None.

RequestSigned

Collection of byte

None.

RequestObj

Neta.NetaReceiversAssemblies.Service_2715.D_NG_2715_MSG22002_AddAGlobalScannedAttachmentToEntity

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestHeader": {
    "ExternalId": "sample string 1",
    "ConsumerId": "sample string 2",
    "ResponseType": 1,
    "AdditionalRecievers": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "RequestObjSigned": {
    "SignedByteArry": "QEA="
  },
  "RequestSigned": "QEA=",
  "RequestObj": {
    "RequestContentHeader": {
      "TransmitionDateTime": "2025-03-14T18:53:45.7613646+02:00",
      "SenderID": 2,
      "RecieverID": [
        1,
        2
      ],
      "Convertor": "sample string 3"
    },
    "RelatedEntity": {
      "entityIdKey1": "sample string 1",
      "entityType": 2,
      "entityPath": "sample string 3",
      "entityIdKey2": "sample string 4",
      "entityIdKey3": "sample string 5",
      "entityIdExternalReferenceID": "sample string 6"
    },
    "Attachment": {
      "content": "QEA=",
      "fileName": "sample string 1",
      "documentType": "sample string 2",
      "keywords": "sample string 3",
      "attachmentID": "sample string 4",
      "externalAttachmentID": "sample string 5",
      "AdditionalData": [
        {
          "fieldID": 1,
          "fieldData": "sample string 2"
        },
        {
          "fieldID": 1,
          "fieldData": "sample string 2"
        }
      ],
      "Remark": "sample string 6",
      "IsAttachment": "sample string 7"
    },
    "documentID": 1,
    "documentIDSpecified": true
  }
}

application/xml, text/xml

Sample:
<Send2715Request xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RequestHeader>
    <ExternalId>sample string 1</ExternalId>
    <ConsumerId>sample string 2</ConsumerId>
    <ResponseType>WebService</ResponseType>
    <AdditionalRecievers>
      <string>sample string 1</string>
      <string>sample string 2</string>
    </AdditionalRecievers>
  </RequestHeader>
  <RequestObjSigned>
    <SignedByteArry xmlns="http://MalamTeam.Inf.ESB.Schemas.ESBRequestSigned">QEA=</SignedByteArry>
  </RequestObjSigned>
  <RequestSigned>QEA=</RequestSigned>
  <RequestObj>
    <RequestContentHeader xmlns="http://malam.com/customs/Documents/D_NG_2715_MSG22002_AddAGlobalScannedAttachmentToEntity">
      <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:53:45.7613646+02:00</TransmitionDateTime>
      <SenderID xmlns="http://malam.com/customs/EAICommon.xsd">2</SenderID>
      <RecieverID xmlns="http://malam.com/customs/EAICommon.xsd">1</RecieverID>
      <RecieverID xmlns="http://malam.com/customs/EAICommon.xsd">2</RecieverID>
      <Convertor xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</Convertor>
    </RequestContentHeader>
    <RelatedEntity xmlns="http://malam.com/customs/Documents/D_NG_2715_MSG22002_AddAGlobalScannedAttachmentToEntity">
      <entityIdKey1 xmlns="http://malam.com/customs/EAICommon.xsd">sample string 1</entityIdKey1>
      <entityType xmlns="http://malam.com/customs/EAICommon.xsd">2</entityType>
      <entityPath xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</entityPath>
      <entityIdKey2 xmlns="http://malam.com/customs/EAICommon.xsd">sample string 4</entityIdKey2>
      <entityIdKey3 xmlns="http://malam.com/customs/EAICommon.xsd">sample string 5</entityIdKey3>
      <entityIdExternalReferenceID xmlns="http://malam.com/customs/EAICommon.xsd">sample string 6</entityIdExternalReferenceID>
    </RelatedEntity>
    <Attachment IsAttachment="sample string 7" xmlns="http://malam.com/customs/Documents/D_NG_2715_MSG22002_AddAGlobalScannedAttachmentToEntity">
      <content xmlns="http://malam.com/customs/EAICommon.xsd">QEA=</content>
      <fileName xmlns="http://malam.com/customs/EAICommon.xsd">sample string 1</fileName>
      <documentType xmlns="http://malam.com/customs/EAICommon.xsd">sample string 2</documentType>
      <keywords xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</keywords>
      <attachmentID xmlns="http://malam.com/customs/EAICommon.xsd">sample string 4</attachmentID>
      <externalAttachmentID xmlns="http://malam.com/customs/EAICommon.xsd">sample string 5</externalAttachmentID>
      <AdditionalData xmlns="http://malam.com/customs/EAICommon.xsd">
        <fieldID>1</fieldID>
        <fieldData>sample string 2</fieldData>
      </AdditionalData>
      <AdditionalData xmlns="http://malam.com/customs/EAICommon.xsd">
        <fieldID>1</fieldID>
        <fieldData>sample string 2</fieldData>
      </AdditionalData>
      <Remark xmlns="http://malam.com/customs/EAICommon.xsd">sample string 6</Remark>
    </Attachment>
    <documentID xmlns="http://malam.com/customs/Documents/D_NG_2715_MSG22002_AddAGlobalScannedAttachmentToEntity">1</documentID>
  </RequestObj>
</Send2715Request>

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

Response Information

Resource Description

Send2715Response

TaskyamWebAPI.Models.Send2715Response
NameDescriptionTypeAdditional information
ResponseHeader

TaskyamWebAPI.Models.ResponseHeader

None.

ResponseObj

Neta.NetaReceiversAssemblies.Service_2715.D_NG_2716_MSG22001_AddAttachmentResponse

None.

ESBResponse

Neta.NetaReceiversAssemblies.Service_2715.ESBResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseHeader": {
    "CorrelationId": "sample string 1",
    "TaskYamCorrelationId": "sample string 2",
    "ExternalId": "sample string 3",
    "ErrorDescription": "sample string 4",
    "ErrorCode": "sample string 5",
    "Status": "sample string 6"
  },
  "ResponseObj": {
    "ResponseContentHeader": {
      "TransmitionDateTime": "2025-03-14T18:53:45.7769602+02:00",
      "ApplicationID": 2,
      "Exception": [
        {
          "ExceptionLevel": 1,
          "ExeptionType": 2,
          "ExceptionParms": [
            "sample string 1",
            "sample string 2"
          ],
          "ExeptionDescription": "sample string 3",
          "EnglishDescription": "sample string 4",
          "BindingXpathField": "sample string 5"
        },
        {
          "ExceptionLevel": 1,
          "ExeptionType": 2,
          "ExceptionParms": [
            "sample string 1",
            "sample string 2"
          ],
          "ExeptionDescription": "sample string 3",
          "EnglishDescription": "sample string 4",
          "BindingXpathField": "sample string 5"
        }
      ],
      "Remark": "sample string 3"
    },
    "externalAttachmentID": "sample string 1"
  },
  "ESBResponse": {
    "ResponseHeader": {
      "CorrelationId": "sample string 1",
      "Status": "sample string 2",
      "ErrorDescription": "sample string 3",
      "ErrorCode": "sample string 4",
      "ExternalId": "sample string 5"
    },
    "Body": {
      "D_NG_2716_MSG22001_AddAttachmentResponse": {
        "ResponseContentHeader": {
          "TransmitionDateTime": "2025-03-14T18:53:45.7769602+02:00",
          "ApplicationID": 2,
          "Exception": [
            {
              "ExceptionLevel": 1,
              "ExeptionType": 2,
              "ExceptionParms": [
                "sample string 1",
                "sample string 2"
              ],
              "ExeptionDescription": "sample string 3",
              "EnglishDescription": "sample string 4",
              "BindingXpathField": "sample string 5"
            },
            {
              "ExceptionLevel": 1,
              "ExeptionType": 2,
              "ExceptionParms": [
                "sample string 1",
                "sample string 2"
              ],
              "ExeptionDescription": "sample string 3",
              "EnglishDescription": "sample string 4",
              "BindingXpathField": "sample string 5"
            }
          ],
          "Remark": "sample string 3"
        },
        "externalAttachmentID": "sample string 1"
      }
    }
  }
}

application/xml, text/xml

Sample:
<Send2715Response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseHeader>
    <CorrelationId>sample string 1</CorrelationId>
    <TaskYamCorrelationId>sample string 2</TaskYamCorrelationId>
    <ExternalId>sample string 3</ExternalId>
    <ErrorDescription>sample string 4</ErrorDescription>
    <ErrorCode>sample string 5</ErrorCode>
    <Status>sample string 6</Status>
  </ResponseHeader>
  <ResponseObj>
    <ResponseContentHeader xmlns="http://malam.com/customs/Documents/D_NG_2716_MSG22001_AddAttachmentResponse">
      <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:53:45.7769602+02:00</TransmitionDateTime>
      <ApplicationID xmlns="http://malam.com/customs/EAICommon.xsd">2</ApplicationID>
      <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
        <ExceptionLevel>1</ExceptionLevel>
        <ExeptionType>2</ExeptionType>
        <ExceptionParms>sample string 1</ExceptionParms>
        <ExceptionParms>sample string 2</ExceptionParms>
        <ExeptionDescription>sample string 3</ExeptionDescription>
        <EnglishDescription>sample string 4</EnglishDescription>
        <BindingXpathField>sample string 5</BindingXpathField>
      </Exception>
      <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
        <ExceptionLevel>1</ExceptionLevel>
        <ExeptionType>2</ExeptionType>
        <ExceptionParms>sample string 1</ExceptionParms>
        <ExceptionParms>sample string 2</ExceptionParms>
        <ExeptionDescription>sample string 3</ExeptionDescription>
        <EnglishDescription>sample string 4</EnglishDescription>
        <BindingXpathField>sample string 5</BindingXpathField>
      </Exception>
      <Remark xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</Remark>
    </ResponseContentHeader>
    <externalAttachmentID xmlns="http://malam.com/customs/Documents/D_NG_2716_MSG22001_AddAttachmentResponse">sample string 1</externalAttachmentID>
  </ResponseObj>
  <ESBResponse>
    <ResponseHeader>
      <CorrelationId xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 1</CorrelationId>
      <Status xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 2</Status>
      <ErrorDescription xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 3</ErrorDescription>
      <ErrorCode xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 4</ErrorCode>
      <ExternalId xmlns="http://MalamTeam.Inf.ESB.Schemas.ResponseHeader">sample string 5</ExternalId>
    </ResponseHeader>
    <Body>
      <D_NG_2716_MSG22001_AddAttachmentResponse>
        <ResponseContentHeader>
          <TransmitionDateTime xmlns="http://malam.com/customs/EAICommon.xsd">2025-03-14T18:53:45.7769602+02:00</TransmitionDateTime>
          <ApplicationID xmlns="http://malam.com/customs/EAICommon.xsd">2</ApplicationID>
          <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
            <ExceptionLevel>1</ExceptionLevel>
            <ExeptionType>2</ExeptionType>
            <ExceptionParms>sample string 1</ExceptionParms>
            <ExceptionParms>sample string 2</ExceptionParms>
            <ExeptionDescription>sample string 3</ExeptionDescription>
            <EnglishDescription>sample string 4</EnglishDescription>
            <BindingXpathField>sample string 5</BindingXpathField>
          </Exception>
          <Exception xmlns="http://malam.com/customs/EAICommon.xsd">
            <ExceptionLevel>1</ExceptionLevel>
            <ExeptionType>2</ExeptionType>
            <ExceptionParms>sample string 1</ExceptionParms>
            <ExceptionParms>sample string 2</ExceptionParms>
            <ExeptionDescription>sample string 3</ExeptionDescription>
            <EnglishDescription>sample string 4</EnglishDescription>
            <BindingXpathField>sample string 5</BindingXpathField>
          </Exception>
          <Remark xmlns="http://malam.com/customs/EAICommon.xsd">sample string 3</Remark>
        </ResponseContentHeader>
        <externalAttachmentID>sample string 1</externalAttachmentID>
      </D_NG_2716_MSG22001_AddAttachmentResponse>
    </Body>
  </ESBResponse>
</Send2715Response>