+ All Categories
Home > Documents > CMDP WEB SERVICES I L E (L D · organizationNm string C Alphanumeric - 200 chars Lab Name Required...

CMDP WEB SERVICES I L E (L D · organizationNm string C Alphanumeric - 200 chars Lab Name Required...

Date post: 17-Aug-2018
Category:
Upload: dangdat
View: 213 times
Download: 0 times
Share this document with a friend
29
CMDP WEB SERVICES INVENTORY AND LEGAL ENTITY (LAB) DATA DICTIONARY Prepared for: WILL BOWMAN Product Owner U.S. EPA OFFICE OF WATER KRISTEN GASTNER PROJECT MANAGER U.S. EPA OFFICE OF WATER Prepared by: Attain 1600 Tysons Blvd. Suite 1400 Mclean, Virginia 22102 Contract Number: Contract Name: Job Number:
Transcript

CMDP WEB SERVICES INVENTORY AND LEGAL

ENTITY (LAB) DATA DICTIONARY

Prepared for: WILL BOWMAN

Product Owner U.S. EPA

OFFICE OF WATER

KRISTEN GASTNER PROJECT MANAGER

U.S. EPA OFFICE OF WATER

Prepared by:

Attain 1600 Tysons Blvd.

Suite 1400 Mclean, Virginia 22102

Contract Number: Contract Name: Job Number:

Page | 2

TABLE OF CONTENTS

INTRODUCTION ............................................................................................. 3

About This Document ................................................................................................................ 3 Source Entities .......................................................................................................................... 3 Inventory Data and Legal Entity (Laboratory) Xml File Structure .................................................... 4

A.1.1 Inventory and Legal Entity (Laboratory) Data Information Formats .............................................. 5 A.1.2 Inventory and Legal Entity (Laboratory) Sample Request Payload .............................................. 25

A.1.2.1 Create Water System ................................................................................................................. 25 A.1.2.2 Create Facility............................................................................................................................ 26 A.1.2.3 Create Facility Sampling Point .................................................................................................. 27 A.1.2.4 Create Legal Entity (Lab) .......................................................................................................... 28

LIST OF FIGURES Figure 1 – Overview of XML Structure for Inventory and Legal Entity (Lab) Data ..................... 4

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 3

INTRODUCTION

ABOUT THIS DOCUMENT

This document contains supplemental information related to the file structure of inventory and laboratory data for the CMDP-State Database Interface Control Document (ICD) and CMDP-LIMS ICD. Inventory information submitted to CMDP will be sent in JSON format. Inventory information retrieved from CMDP will be delivered in XML format.

SOURCE ENTITIES

Source entity is the entity that creates/retrieves Inventory data in CMDP.

Source Entity Name Source Entity Code (2 Chars) Description

State Admin ST

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 4

INVENTORY DATA AND LEGAL ENTITY (LABORATORY) XML FILE STRUCTURE

This section provides details for the Inventory and Legal Entity (Lab) Data File Structure.

INVENTORY AND LEGAL ENTITY (LAB) DATA

Figure 1 – Overview of XML Structure for Inventory and Legal Entity (Lab) Data

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 5

A.1.1 Inventory and Legal Entity (Laboratory) Data Information Formats

Note: Conditional required fields designated with ‘C’ in the 4th column are only required under certain circumstances and the circumstances are designated in the Description column.

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

waterSystem waterSystem XML Root Element

waterSystemId string R 9 chars – first 2 chars for state code and next 7 chars for water system ID

Water System ID: Federal ID assigned to the water system

wsNm string R Alphanumeric - 80 chars Water System Name

wsActivityStartDt string R Date format: MM/DD/YYYY Status Date

wsActivityStatusName string R

NOTE: List of valid values dependent upon user primacy Agency. Below list is for illustrative purposes. Submit Code [Code] - [Name]: A - Active I - Inactive Activity Status

stateLocalNm string O Alphanumeric - 50 chars State Water System Name

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 6

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

wsOwnerTypeName string R

NOTE: List of valid values dependent upon user primacy Agency. Below list is for illustrative purposes. Submit Code [Code] - [Name]: P - Private L - Local M - Mixed N - Native American S - State Government F - Federal Government

wsStateId string O Alphanumeric - 20 chars State Water System ID

wsStateTypeName string O NOTE: List of valid values dependent upon user primacy Agency State Water System Type

wsStateWaterSrcTypeName string O

NOTE: List of valid values dependent upon user primacy Agency State Water Source Type

decommissionDt string O Date format: MM/DD/YYYY Decommission Date

longTerm2EswtrSchedCat String O

1 2 3 4 5 NA Long Term EsctrSched

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 7

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

stage2DbprSchedCat String O

1 2 3 4 NA Stage 2 Dbpr Sched Cat

outstandingPerformerFlg String O Y – Yes N - No Outstanding Performer Flag

outstandingPerformerBeginDt String O Date format: MM/DD/YYYY

Outstanding Performer Begin Date

stateSourceWaterProgFlg String O Y – Yes N - No State Source Water Prog Flag

stateSourceWaterBeginDt String O Date format: MM/DD/YYYY State Water Begin Date

groundwaterPurchPc decimal O Precision 5, Scale 2 [000.00]

Groundwater Purch Percent Total of percentages (groundwater, groundwaterudi, surfacewater) must equal 100%

groundwaterNonPurchPc decimal O Precision 5, Scale 2 [000.00]

Groundwater Non Purch Percent Total of percentages (groundwater, groundwaterudi, surfacewater) must equal 100%

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 8

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

groundwaterUdiNonPurchPc decimal O Precision 5, Scale 2 [000.00]

Groundwater Udi Non Purch Percent Total of percentages (groundwater, groundwaterudi, surfacewater) must equal 100%

groundwaterUdiPurchPc decimal O Precision 5, Scale 2 [000.00]

Groundwater Udi Purch Percent Total of percentages (groundwater, groundwaterudi, surfacewater) must equal 100%

surfaceWaterNonPurchPc decimal O Precision 5, Scale 2 [000.00]

Surface water Non Purch Percent Total of percentages (groundwater, groundwaterudi, surfacewater) must equal 100%

surfaceWaterPurchPc decimal O Precision 5, Scale 2 [000.00]

Surface Water Purch Percent Total of percentages (groundwater, groundwaterudi, surfacewater) must equal 100%

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 9

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

comments String O Alphanumeric - 255 Comments

waterPercent Comment String O Alphanumeric - 255 Water Percent Comment >address address {address} O See {address} >contact contact {wsContact} O See {wsContact}

>populationServed populationServed {wsPopulationServed} O See {wsPopulationServed}

address address1 string O Alphanumeric - 60 chars Address Line 1 address2 string O Alphanumeric - 60 chars Address Line 2 usCityName string O U.S. City

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 10

usStateName string O

Submit Code [Code] - [Name]: AL - Alabama AK - Alaska AS - American Samoa AZ - Arizona AR - Arkansas CA - California CO - Colorado CT - Connecticut DE - Delaware DC - District of Columbia FL - Florida GA - Georgia GU - Guam HI - Hawaii ID - Idaho IL - Illinois IN - Indiana IA - Iowa KS - Kansas KY - Kentucky LA - Louisiana ME - Maine MD - Maryland MA - Massachusetts MI - Michigan MN - Minnesota MS - Mississippi MO - Missouri MT - Montana NN - Navajo Nation NE - Nebraska NV - Nevada NH - New Hampshire NJ - New Jersey NM - New Mexico NY - New York NC - North Carolina ND - North Dakota U.S. State

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 11

MP - Northern Mariana Islands OH - Ohio OK - Oklahoma OR - Oregon PA - Pennsylvania PR - Puerto Rico RI - Rhode Island SC - South Carolina SD - South Dakota TN - Tennessee TX - Texas UM - U.S. Minor Outlying Islands

zipCd string O Zip Code wsContact contact

{legalEntity} Extends {legalEntity} therefore all elements of LegalEntity included.

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 12

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

contactTypeName string R

Submit Code [Code] - [Name]: AC - Administrative Contact - Primary Must submit AC.

startDt string R Date format: MM/DD/YYYY Start Date certificationDate String O Date format: MM/DD/YYYY Certification Date certificationLevel String O Alphanumeric – 12 chars Certification Level certificationType String O Alphanumeric – 50 chars Certification Type wsPopulationServed populationServed

populationTypeName string R

Submit Code [Code] - [Name]: R - Residential W - Wholesale T - Transient NT - Non Transient Population Type

popServicePdBeginDt string R Date format: MM/DD Service Begin Date popServicePdEndDt string R Date format: MM/DD Service End Date populationCnt int R Population Count popEffecBeginDt string R Date format: MM/DD/YYYY Effective Begin Date popEffecEndDt string O Date format: MM/DD Effective End Date comments string O Alphanumeric - 255 chars Comments

lab lab XML Root Element

{legalEntity} Extends {legalEntity} therefore all elements of LegalEntity included.

legalEntity [none]

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 13

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

categoryName string R

Submit Code [Code] - [Name]: L - Laboratory I - Individual O - Organization GA - Government Agency

System currently only supports: L - Laboratory I - Individual

labId string C Alphanumeric - 20 chars

Laboratory ID Required for Lab (categoryName = L)

fedLabId string O Alphanumeric - 20 chars

Federal Laboratory ID Only applies to Lab (categoryName=L)

individualFirstNm string C Alphanumeric - 60 chars Required for Individual (categoryName=I)

individualLastNm string C Alphanumeric - 60 chars Required for Individual (categoryName=I)

individualMiddleNm string O Alphanumeric - 25 chars Only applies to Individual (categoryName=I)

individualNmSuffix string O Alphanumeric - 5 chars Only applies to Individual (categoryName=I)

individualProfQual string O Alphanumeric - 60 chars

Professional Qualification Only applies to Individual (categoryName=I)

individualSalutationName string O

Submit Code [Code] - [Name]: 1 - Dr. 2 - Mr. 3 - Miss 4 - Ms. 5 - Mrs.

Only applies to Individual (categoryName=I)

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 14

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

individualTitle string O Alphanumeric - 60 chars Only applies to Individual (categoryName=I)

organizationNm string C Alphanumeric - 200 chars

Lab Name Required for Lab (categoryName = L)

statusName string R

Submit Code [Code] - [Name]: A - Active I - Inactive N - No longer exists Status

>address address {leAddress} See {leAddress} >phone emailUrl {leEmailUrl} See {lePhone} >emailUrl phone {lePhone} See {leEmailUrl} leAddress address address1 string R Alphanumeric - 60 chars Address Line 1 address2 string O Alphanumeric - 60 chars Address Line 2

addressTypeName string R

NOTE: List of valid values dependent upon user primacy Agency. Below list is for illustrative purposes. Submit Code [Code] - [Name]: HOME - Home WORK - Work P.O. BOX - P.O. Box Address Type

internationalCity string C Alphanumeric - 100 chars

International City Required for International Address (internationalFlg = Y)

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 15

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

internationalCountryName string C

NOTE: List of possible values too long to list Submit 2 char country code [Code] - [Name]: AF - Afghanistan AL - Albania DZ - Algeria AD - Andorra AO - Angola AI - Anguilla AQ - Antarctica AG - Antigua and Barbuda AR - Argentina …

International Country Required for International Address (internationalFlg = Y)

internationalFlg string R Y - Yes N - No International Flag

internationalPostalCd string O Alphanumeric - 20 chars

International Postal Code Only applies to International Address (internationalFlg=Y)

internationalProv string C Alphanumeric - 100 chars

International State/Province Required for International Address (internationalFlg = Y)

primaryAddressFlg string O Y - Yes N - No

Default Value = N Only one record can be designated as primary.

usCityName string C Required for U.S. Address (internationalFlg = N)

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 16

usStateName string

C

Submit Code [Code] - [Name]: AL - Alabama AK - Alaska AS - American Samoa AZ - Arizona AR - Arkansas CA - California CO - Colorado CT - Connecticut DE - Delaware DC - District of Columbia FL - Florida GA - Georgia GU - Guam HI - Hawaii ID - Idaho IL - Illinois IN - Indiana IA - Iowa KS - Kansas KY - Kentucky LA - Louisiana ME - Maine MD - Maryland MA - Massachusetts MI - Michigan MN - Minnesota MS - Mississippi MO - Missouri MT - Montana NN - Navajo Nation NE - Nebraska NV - Nevada NH - New Hampshire NJ - New Jersey NM - New Mexico NY - New York NC - North Carolina ND - North Dakota

U.S. State

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 17

MP - Northern Mariana Islands OH - Ohio OK - Oklahoma OR - Oregon PA - Pennsylvania PR - Puerto Rico RI - Rhode Island SC - South Carolina SD - South Dakota TN - Tennessee TX - Texas UM - U.S. Minor Outlying Islands

zipCd string C

Zip/Postal Code Required for U.S. Address (internationalFlg = N)

leEmailUrl emailUrl

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 18

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description emailUrlAddress string R Email Address

emailUrlTypeName string

NOTE: List of valid values dependent upon user primacy Agency. Below list is for illustrative purposes.Submit Code Submit Code [Code] - [Name]: HOME - Home URL - Url WORK - Work PERSONAL - personal Email Type

primaryEmailFlg string O Y - Yes N - No

Default Value = N Only one record can be designated as primary.

lePhone phone phoneExt string O Alphanumeric - 8 chars Phone Extension phoneNumber string R Alphanumeric - 25 chars Phone Number

phoneTypeName string R

NOTE: List of valid values dependent upon user primacy Agency. Below list is for illustrative purposes. Submit Code [Code] - [Name]: CELL - Cell FAX - Fax HOME - Home WORK - Work PERSONAL - personal Phone Type

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 19

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

primaryPhoneFlg string O Y - Yes N - No

Default Value = N Only one record can be designated as primary.

facilities facilities XML Root Element

>otherFacility otherFacility

{facility} Extends {facility} therefore all elements of LegalEntity included.

>sourceFacility sourceFacility

{facility} Extends {facility} therefore all elements of LegalEntity included.

sourceTreatmentStatusName string O

Submit Code [Code] - [Name]: Y - Treated N - Not Treated Source Treatment Status

waterSourceTypeDate string O Date format: MM/DD/YYYY Water Source Type Date

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 20

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

waterSourceTypeName string R

Submit Code [Code] - [Name]: GUP - Groundwater UDI Surface Water Purchased SWP - Surface Water Purchased GW - Groundwater SW - Surface Water GU - Groundwater Under Influence of Surface Water GWP - Groundwater Purchased SW - Surface Water GU - Groundwater UDI Surface Water Water Source Type

>treatmentFacility treatmentFacility

{facility} Extends {facility} therefore all elements of LegalEntity included.

{address} See {address}. facility [None]

waterSystemId string R 9 chars – first 2 chars for state code and next 7 chars for water system ID

Water System ID: Federal ID assigned to the water system

facActivityStatusDt string R Date format: MM/DD/YYYY Status Date

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 21

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

facActivityStatusName string R

NOTE: List of valid values dependent upon user primacy Agency. Below list is for illustrative purposes. Submit Code [Code] - [Name]: NR - Not Reported I - Inactive A - Active Activity Status

facAvailabilityName string C

Submit Code [Code] - [Name]: I - Interim P - Permanent O - Other S - Seasonal E - Emergency

Availability Required for Source Facility (facCategoryName=S)

facCategoryName string R

Submit Code [Code] - [Name]: T - Treatment Facility S - Source Facility O - Other Facility Category

facLocalNm string Alphanumeric - 80 chars Local Name facNm string R Alphanumeric - 20 chars Facility Name

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 22

facTypeName string R

Submit Code Source Facility [Code] - [Name]: CC - Consecutive Connection IG - Infiltration Gallery IN - Intake NN - Non-Piped Non-Purchased NP - Non-Piped Purchased RS - Reservoir RC - Roof Catchment SP - Spring WL - Well Treatment Plant Facility [Code] - [Name]: TP - Treatment Plant Other Facility [Code] - [Name]: CS - Cistern CW - Clearwell CH - Common Headers DS - Distribution System/Zone OT - Other PC - Pressure Control PF - Pump Facility SS - Sampling Station ST - Storage Facility SI - Surface Impoundment TM - Transmission Main WH - Well Head

Facility Type

stateAssignedFacId string R Alphanumeric - 40 chars State Facility ID

facSamplingPoint facSamplingPoint XML Root Element

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 23

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

waterSystemId string R 9 chars – first 2 chars for state code and next 7 chars for water system ID

Water System ID: Federal ID assigned to the water system

facilityName string R Alphanumeric - 20 chars Facility Name samplingPointId string R Alphanumeric - 20 chars Sampling Point ID samplingPointNm string O Alphanumeric - 50 chars Name smpPntActivityStatusDt string R Date format: MM/DD/YYYY Status Date

smpPntActivityStatusName string R

Submit Code [Code] - [Name]: A - Active I - Inactive P - Proposed Activity Status

smpPntTypeRefName string R

Submit Code [Code] - [Name]: LDR - Lowest Disinfectant Residual PMR - Point of Maximum Retention SWP - Source Water Point EP - Entry Point FC - First Customer MDS - Midpoint of Distribution System PC - Process Control RWS - Raw Water Source UP - Unit Process WSF - Water System Fac+J96ility DS - Distribution System Sampling Point Type

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 24

XML Element XML Element Name Data Type

Req

uire

d (R

), O

ptio

nal (

O),

Con

ditio

nal (

C),

Gen

erat

ed (G

)

Format/Valid Values Description

smpPntWatertreatStatName string O

NOTE: List of valid values dependent upon user primacy Agency. Below list is for illustrative purposes. Water Treatment Status

comments string O Alphanumeric - 255 chars Comments >address address {address} O See {address}

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 25

A.1.2 Inventory and Legal Entity (Laboratory) Sample Request Payload

The following section contains samples for request payloads to create Inventory data in CMDP. The request payload will contain a string representation of the data to be posted.

The examples are for illustrative purposes. Please see the Inventory and Legal Entity (Lab) Data Information Formats section above along with the XSD for the latest data requirements.

A.1.2.1 CREATE WATER SYSTEM

{ "waterSystemId": "X1TEST002", "wsNm": "Uyen WS Name 001", "wsOwnerTypeName": "NON-PROFIT", "wsStateTypeName": "C", "wsStateId": "State Id 001", "stateLocalNm": "stateLocalNm001", "combinedDistSystemId": "123", "outstandingPerformerFlg": "Y", "stateSourceWaterProgFlg": "N", "groundwaterNonPurchPc": "10", "groundwaterPurchPc": "10", "groundwaterUdiNonPurchPc": "10", "groundwaterUdiPurchPc": "10", "surfaceWaterNonPurchPc": "10", "surfaceWaterPurchPc": "50", "comments": "comments", "waterPercentComment": "waterPercentComment", "wsActivityStatusName": "A", "wsActivityStartDt": "2016-05-05", "address": { "address1": "Addy Line 1 001", "address2": "Addy Line 2 001", "usCityName": "McLean", "usStateName": "VA", "zipCd": "22182" }, "contact": { "contactTypeName": "AC", "statusName": "A", "categoryName": "I", "individualFirstNm": "Uyen", "individualLastNm": "Tran", "startDt": "2016-02-24", "address": [ { "primaryAddressFlg": "Y", "internationalFlg": "N", "address1": "491 Line1 WS Test001", "addressTypeName": "Home", "usCityName": "San Diego", "usStateName": "CA", "zipCd": "49155" }, { "primaryAddressFlg": "N", "internationalFlg": "N",

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 26

"address1": "123 Line1 WS Test001", "addressTypeName": "Home", "usCityName": "San Diego", "usStateName": "CA", "zipCd": "49166" } ], "phone": [ { "primaryPhoneFlg": "Y", "phoneTypeName": "WORK", "phoneNumber": "491-111-1111", "phoneExt": "491" }, { "primaryPhoneFlg": "N", "phoneTypeName": "HOME", "phoneNumber": "491-222-222", "phoneExt": "492" } ], "emailUrl": [ { "primaryEmailFlg": "Y", "emailUrlTypeName": "Home", "emailUrlAddress": "[email protected]" }, { "primaryEmailFlg": "N", "emailUrlTypeName": "Home", "emailUrlAddress": "[email protected]" } ] }, "populationServed": [{ "populationTypeName": "R", "popServicePdBeginDt": "01/01", "popServicePdEndDt": "12/31", "popEffecBeginDt": "03/16/2016", "populationCnt": "100" }] } ]

A.1.2.2 CREATE FACILITY

{ "treatmentFacility":[{ "waterSystemId": "X11050009", "facTypeName": "TP", "facCategoryName": "T", "facNm": "TestTreatFacNm002", "stateAssignedFacId": "UyenTreat002", "facLocalNm": "facLocalNm 2", "facActivityStatusDt": "2016-05-26", "facActivityStatusName": "P", "address": { "address1": "Treatment Fac Addy 002", "usCityName": "San Diego", "usStateName": "CA" }

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 27

}], "sourceFacility": [{ "waterSystemId": "X11050009", "facTypeName": "NP", "facCategoryName": "S", "facNm": "TestSourceFacNm002", "stateAssignedFacId": "UyenSource002", "facLocalNm": "facLocalNm3", "facActivityStatusDt": "2016-05-26", "facActivityStatusName": "P", "facAvailabilityName": "P", "waterSourceTypeDate": "2016-02-22", "waterSourceTypeName": "GW", "sourceTreatmentStatusName": "N" }], "otherFacility": [{ "waterSystemId": "X11050009", "facTypeName": "OT", "facCategoryName": "O", "facNm": "TestOtherFacNm002", "stateAssignedFacId": "UyenOther002", "facLocalNm": "facLocalNm 3", "facActivityStatusDt": "2016-05-26", "facActivityStatusName": "P" }] }

A.1.2.3 CREATE FACILITY SAMPLING POINT

[{ "facilityName": "UyenTreat001", "waterSystemId": "X11050009", "samplingPointId": "testSpi A001", "samplingPointNm": "testSamplePtNm 001", "smpPntActivityStatusDt": "2016-05-27", "smpPntActivityStatusName": "A", "smpPntTypeRefName": "DS", "comments": "Uyen Testing Add Sampling Point A001", "address": { "address1": "spi Addy A001", "address2": "line 2 A001", "usCityName": "San Diego", "usStateName": "CA", "zipCd": "12345" } }, { "facilityName": "UyenTreat001", "waterSystemId": "X11050009", "samplingPointId": "testSpi B001", "samplingPointNm": "testSamplePtNm B001", "smpPntActivityStatusDt": "2016-03-07", "smpPntActivityStatusName": "A", "smpPntTypeRefName": "DS", "comments": "Uyen Testing Add Sampling Point B001", "address": { "address1": "spi Addy B001", "address2": "line 2 B001", "usCityName": "San Diego", "usStateName": "CA", "zipCd": "12345"

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 28

} }]

A.1.2.4 CREATE LEGAL ENTITY (LAB)

[{ "statusName": "A", "categoryName": "L", "organizationNm": "OrgName LabTest002", "labId": "LabIdTest002", "fedLabId": "FedTest002", "address": [{ "primaryAddressFlg": "Y", "internationalFlg": "N", "address1": "555 Line1 Test002", "addressTypeName": "Home", "usCityName": "San Diego", "usStateName": "CA", "zipCd": "55555" }, { "primaryAddressFlg": "N", "internationalFlg": "N", "address1": "6666 Line 1 Test002", "address2": "4222 Line 2 Test002", "addressTypeName": "Home", "usCityName": "San Diego", "usStateName": "CA", "zipCd": "66666" }, { "primaryAddressFlg": "N", "internationalFlg": "Y", "address1": "1234 International Drive Test002", "address2": "Suite Test002", "addressTypeName": "Home", "internationalCity": "IntlCity Test002", "internationalProv": "IntlProv Test002", "internationalPostalCd": "12345", "internationalCountryName": "AL" }, { "primaryAddressFlg": "N", "internationalFlg": "Y", "address1": "2345 International Drive Test002", "address2": "Suite B Test002", "addressTypeName": "Home", "internationalCity": "IntlCityB Test002", "internationalProv": "IntlProvB Test002", "internationalPostalCd": "12345", "internationalCountryName": "AL" }], "phone": [{ "primaryPhoneFlg": "Y", "phoneTypeName": "WORK", "phoneNumber": "121-121-1212", "phoneExt": "121" }, { "primaryPhoneFlg": "N",

CMDP Inventory and Legal Entity (Lab) Data Dictionary 2/2/2017

Page | 29

"phoneTypeName": "WORK", "phoneNumber": "122-121-1212", "phoneExt": "122" }], "emailUrl": [{ "primaryEmailFlg": "Y", "emailUrlTypeName": "Home", "emailUrlAddress": "[email protected]" }, { "primaryEmailFlg": "N", "emailUrlTypeName": "Work", "emailUrlAddress": "[email protected]" }] } ]


Recommended