For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
53 2 4 6

ProviderSourceType property on Entity.sources

I have a query concerning the

ProviderSourceType property on Entity.sources array. When you retrieve a screened profile for a given entity, this property for each of the sources never seems to have a value in them.

Is this the case for the majority of Entities? I am finding it hard to find an entity with values in these optional properties.

world-checkworld-check-onescreeningentity
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
3.1k 16 7 7

@john.crocker,

Yes, LOCATION will work...here's an example...it will get documented going forward.

         "countryLinks": [
          {
          "country": 
          {
              "code": "CAN",
              "name": "CANADA" 
          },
          "countryText": "CANADA",
          "type": "POB"
          },
          {
          "country": 
          {
              "code": "USA",
              "name": "UNITED STATES" 
          },
          "countryText": "UNITED STATES",          
          "type": "RESIDENT"
          },
          {
          "country": 
          {
              "code": "MEX",
              "name": "MEXICO" 
          },
          "countryText": "MEXICO",             
          "type": "RESIDENT"
          },          
          {
          "country": 
          {
              "code": "CAN",
              "name": "CANADA"
          },
          "countryText": "CANADA",          
          "type": "RESIDENT"
          },
          {
          "country": 
          {
              "code": "USA",
              "name": "UNITED STATES" 
          },
          "type": "LOCATION"
          },
          {
          "country": 
          {
              "code": "MEX",
              "name": "MEXICO" 
          },
          "countryText": "MEXICO",             
          "type": "LOCATION"
          },          
          {
          "country": 
          {
              "code": "CAN",
              "name": "CANADA"
          },
          "countryText": "CANADA",  
          "type": "LOCATION"
          },
          {
          "country": 
          {
              "code": "CAN",
              "name": "CANADA"
          },
          "countryText": "CANADA",  
          "type": "NATIONALITY"
          }
      ],
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
3.1k 16 7 7

Hi @john.crocker,

There are a few places where this file is implemented, can you be more specific and include a sample of which occurrence you're referring to....

Thanks,

Brian

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
53 2 4 6

Hi Brian

I am talking about when you screen an individual. You get back an IndividualEntity as per the API documentation, this has a sources property with the property I am referring to above. However we are yet to see any values appearing in these optional properties of the "sources" records. See example:

"sources":[{"abbreviation":"WCDATA","creationDate":"2013-03-21T13:41:09Z","identifier":"b_trwc_4","name":"World-Check Data","providerSourceStatus":"ACTIVE","subscriptionCategory":"STANDARD"}]

Note it doesnt contain a "type" (ProviderSourceType) property. and these never seem to?

Is there any examples of this value populated in this context?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Brian

I think we have solved it now, however I have noticed one more thing. With the CountryLinkType enum, we have got an unexpected value. One of our profile queries returned a enum value with type of "LOCATION" According to the documentation, valid values for this enum are

NATIONALITY, OPERATESIN, POB, POD, REGISTEREDIN, RESIDENT, VESSELFLAG

Can you clarify please?

Click below to post an Idea Post Idea