POST api/PFMS/get_sanction_advice_status

Documentation for 'get_sanction_advice_status'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "stateCode": "sample string 1",
  "AuthString": "sample string 2",
  "Token": "sample string 3",
  "SanctionAdviceStatusRequest": {
    "requestPayload": {
      "SanctionAdviceStatus": [
        {
          "UniqueIdentifier": "sample string 1",
          "RequestSource": "sample string 2"
        },
        {
          "UniqueIdentifier": "sample string 1",
          "RequestSource": "sample string 2"
        },
        {
          "UniqueIdentifier": "sample string 1",
          "RequestSource": "sample string 2"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<RequestModelGetSanctionAdviceStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PFMS">
  <AuthString>sample string 2</AuthString>
  <SanctionAdviceStatusRequest>
    <requestPayload>
      <SanctionAdviceStatus>
        <MdlSanctionAdviceStatus>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlSanctionAdviceStatus>
        <MdlSanctionAdviceStatus>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlSanctionAdviceStatus>
        <MdlSanctionAdviceStatus>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlSanctionAdviceStatus>
      </SanctionAdviceStatus>
    </requestPayload>
  </SanctionAdviceStatusRequest>
  <Token>sample string 3</Token>
  <stateCode>sample string 1</stateCode>
</RequestModelGetSanctionAdviceStatus>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "AckCode": "sample string 1",
  "Status": "sample string 2",
  "Remarks": "sample string 3",
  "DateOfData": "sample string 4",
  "SanctionAdviceStatusResponse": {
    "SuccessResponse": {
      "responseData": {
        "RequestStatus": [
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3",
            "Sanction": {
              "SanctionNumber": "sample string 1",
              "SanctionAmount": 2.1,
              "SanctionStatus": "sample string 3",
              "AdviceNo": "sample string 4",
              "AdviceDate": "sample string 5",
              "ClearanceMemoNo": "sample string 6",
              "ClearanceMemoDate": "sample string 7"
            }
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3",
            "Sanction": {
              "SanctionNumber": "sample string 1",
              "SanctionAmount": 2.1,
              "SanctionStatus": "sample string 3",
              "AdviceNo": "sample string 4",
              "AdviceDate": "sample string 5",
              "ClearanceMemoNo": "sample string 6",
              "ClearanceMemoDate": "sample string 7"
            }
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3",
            "Sanction": {
              "SanctionNumber": "sample string 1",
              "SanctionAmount": 2.1,
              "SanctionStatus": "sample string 3",
              "AdviceNo": "sample string 4",
              "AdviceDate": "sample string 5",
              "ClearanceMemoNo": "sample string 6",
              "ClearanceMemoDate": "sample string 7"
            }
          }
        ]
      },
      "errorMessage": "sample string 1",
      "successMessage": "sample string 2",
      "isSuccess": "sample string 3",
      "errorCode": "sample string 4"
    },
    "ErrorResponse": {
      "responseData": {
        "RequestStatus": [
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorMessage": "sample string 2"
              }
            ]
          }
        ]
      },
      "errorMessage": "sample string 1",
      "successMessage": "sample string 2",
      "isSuccess": "sample string 3",
      "errorCode": "sample string 4"
    }
  }
}

application/xml, text/xml

Sample:
<ResponseModelGetSanctionAdviceStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PFMS">
  <AckCode>sample string 1</AckCode>
  <DateOfData>sample string 4</DateOfData>
  <Remarks>sample string 3</Remarks>
  <SanctionAdviceStatusResponse>
    <ErrorResponse>
      <errorCode>sample string 4</errorCode>
      <errorMessage>sample string 1</errorMessage>
      <isSuccess>sample string 3</isSuccess>
      <responseData>
        <RequestStatus>
          <MdlGetSanctionAdviceStatusErrorRequestStatus>
            <Errors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetSanctionAdviceStatusErrorRequestStatus>
          <MdlGetSanctionAdviceStatusErrorRequestStatus>
            <Errors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetSanctionAdviceStatusErrorRequestStatus>
          <MdlGetSanctionAdviceStatusErrorRequestStatus>
            <Errors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
              <MdlGetSanctionAdviceStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorMessage>sample string 2</ErrorMessage>
              </MdlGetSanctionAdviceStatusErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetSanctionAdviceStatusErrorRequestStatus>
        </RequestStatus>
      </responseData>
      <successMessage>sample string 2</successMessage>
    </ErrorResponse>
    <SuccessResponse>
      <errorCode>sample string 4</errorCode>
      <errorMessage>sample string 1</errorMessage>
      <isSuccess>sample string 3</isSuccess>
      <responseData>
        <RequestStatus>
          <MdlGetSanctionAdviceStatusRequestStatus>
            <RequestSource>sample string 2</RequestSource>
            <Sanction>
              <AdviceDate>sample string 5</AdviceDate>
              <AdviceNo>sample string 4</AdviceNo>
              <ClearanceMemoDate>sample string 7</ClearanceMemoDate>
              <ClearanceMemoNo>sample string 6</ClearanceMemoNo>
              <SanctionAmount>2.1</SanctionAmount>
              <SanctionNumber>sample string 1</SanctionNumber>
              <SanctionStatus>sample string 3</SanctionStatus>
            </Sanction>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetSanctionAdviceStatusRequestStatus>
          <MdlGetSanctionAdviceStatusRequestStatus>
            <RequestSource>sample string 2</RequestSource>
            <Sanction>
              <AdviceDate>sample string 5</AdviceDate>
              <AdviceNo>sample string 4</AdviceNo>
              <ClearanceMemoDate>sample string 7</ClearanceMemoDate>
              <ClearanceMemoNo>sample string 6</ClearanceMemoNo>
              <SanctionAmount>2.1</SanctionAmount>
              <SanctionNumber>sample string 1</SanctionNumber>
              <SanctionStatus>sample string 3</SanctionStatus>
            </Sanction>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetSanctionAdviceStatusRequestStatus>
          <MdlGetSanctionAdviceStatusRequestStatus>
            <RequestSource>sample string 2</RequestSource>
            <Sanction>
              <AdviceDate>sample string 5</AdviceDate>
              <AdviceNo>sample string 4</AdviceNo>
              <ClearanceMemoDate>sample string 7</ClearanceMemoDate>
              <ClearanceMemoNo>sample string 6</ClearanceMemoNo>
              <SanctionAmount>2.1</SanctionAmount>
              <SanctionNumber>sample string 1</SanctionNumber>
              <SanctionStatus>sample string 3</SanctionStatus>
            </Sanction>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetSanctionAdviceStatusRequestStatus>
        </RequestStatus>
      </responseData>
      <successMessage>sample string 2</successMessage>
    </SuccessResponse>
  </SanctionAdviceStatusResponse>
  <Status>sample string 2</Status>
</ResponseModelGetSanctionAdviceStatus>