Skip to content

Instantly share code, notes, and snippets.

@tarolandia
Last active November 14, 2018 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarolandia/d2438a69c4026f0efef245f39a1dc15a to your computer and use it in GitHub Desktop.
Save tarolandia/d2438a69c4026f0efef245f39a1dc15a to your computer and use it in GitHub Desktop.

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
Copy link
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