POST api/PFMS/get_sanction_request_status

Documentation for 'get_sanction_request_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",
  "RequestStatusRequest": {
    "requestPayload": {
      "SanctionStatus": [
        {
          "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:
<RequestModelGetRequestStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.PFMS">
  <AuthString>sample string 2</AuthString>
  <RequestStatusRequest>
    <requestPayload>
      <SanctionStatus>
        <MdlSanctionStatus>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlSanctionStatus>
        <MdlSanctionStatus>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlSanctionStatus>
        <MdlSanctionStatus>
          <RequestSource>sample string 2</RequestSource>
          <UniqueIdentifier>sample string 1</UniqueIdentifier>
        </MdlSanctionStatus>
      </SanctionStatus>
    </requestPayload>
  </RequestStatusRequest>
  <Token>sample string 3</Token>
  <stateCode>sample string 1</stateCode>
</RequestModelGetRequestStatus>

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

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",
  "RequestStatusResponse": {
    "SuccessResponse": {
      "responseData": {
        "RequestStatus": [
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3"
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3"
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3"
          }
        ]
      },
      "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",
            "Status": "sample string 3",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              }
            ]
          },
          {
            "UniqueIdentifier": "sample string 1",
            "RequestSource": "sample string 2",
            "Status": "sample string 3",
            "Errors": [
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              },
              {
                "ErrorCode": "sample string 1",
                "ErrorDescription": "sample string 2"
              }
            ]
          }
        ]
      },
      "errorMessage": "sample string 1",
      "successMessage": "sample string 2",
      "isSuccess": "sample string 3",
      "errorCode": "sample string 4"
    }
  }
}

application/xml, text/xml

Sample:
<ResponseModelGetRequestStatus 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>
  <RequestStatusResponse>
    <ErrorResponse>
      <errorCode>sample string 4</errorCode>
      <errorMessage>sample string 1</errorMessage>
      <isSuccess>sample string 3</isSuccess>
      <responseData>
        <RequestStatus>
          <MdlGetRequestStatusErrorRequestStatus>
            <Errors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetRequestStatusErrorRequestStatus>
          <MdlGetRequestStatusErrorRequestStatus>
            <Errors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetRequestStatusErrorRequestStatus>
          <MdlGetRequestStatusErrorRequestStatus>
            <Errors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
              <MdlGetRequestStatusErrors>
                <ErrorCode>sample string 1</ErrorCode>
                <ErrorDescription>sample string 2</ErrorDescription>
              </MdlGetRequestStatusErrors>
            </Errors>
            <RequestSource>sample string 2</RequestSource>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetRequestStatusErrorRequestStatus>
        </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>
          <MdlGetRequestStatusRequestStatus>
            <RequestSource>sample string 2</RequestSource>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetRequestStatusRequestStatus>
          <MdlGetRequestStatusRequestStatus>
            <RequestSource>sample string 2</RequestSource>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetRequestStatusRequestStatus>
          <MdlGetRequestStatusRequestStatus>
            <RequestSource>sample string 2</RequestSource>
            <Status>sample string 3</Status>
            <UniqueIdentifier>sample string 1</UniqueIdentifier>
          </MdlGetRequestStatusRequestStatus>
        </RequestStatus>
      </responseData>
      <successMessage>sample string 2</successMessage>
    </SuccessResponse>
  </RequestStatusResponse>
  <Status>sample string 2</Status>
</ResponseModelGetRequestStatus>