Skip to content

Instantly share code, notes, and snippets.

@tarolandia tarolandia/new_wi_list.md
Last active Nov 14, 2018

Embed
What would you like to do?

List File Wire Instructions

This endpoint retrieves wire instructions related to a File

Endpoint

GET /ncs/v1/files/:id/wire-instructions

Path Parameters

  • :id: the ID of the File

Authorization

  • Auth Token (Internal User)

Responses

200 OK

{
  "wireInstructions": [
    {
      "id": 1,
      "organizationId": ":id",
      "accountHolderName": "Paul Kong",
      "lastUpdated": "2018-10-10 11:30:00",
      "lastStatusChangeDate": "2018-10-10 11:30:00",
      "status": "Created|Requested|Updated|AwaitingBankVerification|BankVerified|BankVerificationFailed",
      "fileId": ":id",
      "fileNumber": "string",
      "dealPartyName": "string",
      "dealPartyRole": "string",  
      "dealPartyEmail": "string",
      "dealPartyMobile": "string",
    }
  ],
  "_meta": {
    "pagination": {
      "limit": 10,
      "page": 2,
      "total": 53,
      "pages": 5
    }
  }
}

401 Unauthorized

  • Missing auth token
  • Auth token is invalid

403 Forbidden

  • Internal User does not have enough permissions (Disbursements)

List Organization Wire Instructions

This endpoint retrieves wire instructions with/without filters

Endpoint

GET /ncs/v1/organizations/:id/wire-instructions

Path Parameters

  • :id: the ID of the Organization

Authorization

  • Auth Token (Internal User)
  • Auth Token (External User)

Responses

200 OK

TBD: List unique wire instructions or one row per WI/File relationship

401 Unauthorized

  • Missing auth token
  • Auth token is invalid

403 Forbidden

  • External User Organization Id doesn't match request Organization Id
  • Internal User does not have enough permissions (Disbursements)

List/Search Wire Instructions

This endpoint retrieves wire instructions with/without filters

Endpoint

GET /ncs/v1/wire-instructions

Query Parameters

Search by File Number

  • fileNumber: string representing the File Number in FAST

Search by Deal Party

  • partyOrganizationId: the Id of the party Organization
  • partyName: name of the file party

Authorization

  • Auth token (Internal User)

Responses

200 OK

TBD: List unique wire instructions or one row per WI/File relationship

401 Unauthorized

  • Missing auth token
  • Auth token is invalid

403 Forbidden

  • Internal User does not have enough permissions (Disbursements)
@tarolandia

This comment has been minimized.

Copy link
Owner Author

tarolandia commented Nov 14, 2018

List unique wire instructions

200 OK

{
  "wireInstructions": [
    {
      "id": 1,
      "organizationId": ":id",
      "accountHolderName": "Paul Kong",
      "lastUpdated": "2018-10-10 11:30:00",
      "lastStatusChangeDate": "2018-10-10 11:30:00",
      "status": "Created|Requested|Updated|AwaitingBankVerification|BankVerified|BankVerificationFailed",
      "files": [
         {
           "fileId": ":id",
           "fileNumber": "string",
           "dealPartyName": "string",
           "dealPartyRole": "string",  
           "dealPartyEmail": "string",
           "dealPartyMobile": "string",
         }
      ]
    }
  ],
  "_meta": {
    "pagination": {
      "limit": 10,
      "page": 2,
      "total": 53,
      "pages": 5
    }
  }
}

List WI/File association

200 OK

{
  "wireInstructions": [
    {
      "id": 1,
      "organizationId": ":id",
      "accountHolderName": "Paul Kong",
      "lastUpdated": "2018-10-10 11:30:00",
      "lastStatusChangeDate": "2018-10-10 11:30:00",
      "status": "Created|Requested|Updated|AwaitingBankVerification|BankVerified|BankVerificationFailed",
      "fileId": ":id",
      "fileNumber": "string",
      "dealPartyName": "string",
      "dealPartyRole": "string",  
      "dealPartyEmail": "string",
      "dealPartyMobile": "string",
    }
  ],
  "_meta": {
    "pagination": {
      "limit": 10,
      "page": 2,
      "total": 53,
      "pages": 5
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.