{"info":{"_postman_id":"b3eaceee-cb82-4cc0-8855-0b7778025eb0","name":"CareWait Enrollment Service","description":"<html><head></head><body><h1 id=\"mct-carecloud-api\">MCT CareCloud API</h1>\n<p>The API provides a standardized way to quickly and easily access your data needs for a CareCloud license holder.</p>\n<p>Before you can obtain access to CareCloud API, you must register the developer's account. You will then obtain a <strong>API Key</strong>. API key is alphanumeric strings that MCT distribute to app developer customers to grant access to CareCloud API. And then you will obtain a corresponding <strong>AppID and AppSecret</strong> , which are used to obtain Access Token.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>All API requests must contain your API Key and Access Token. This string should be sent as a part of the <code>Authorization</code> header demonstrated below.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>x-api-key: [api_key]\nAuthorization: Bearer [access_token]\n</code></pre><p>For example, </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>x-api-key: herTyem38gM\nAuthorization: Bearer JmFhAAMPkUOJuJ2F2CQq\n</code></pre><h2 id=\"description-of-the-authorization-process\">Description of the Authorization Process</h2>\n<p>The CareCloud OAuth2.0 Authorized Login allows CareCloud users to authorize the third-party applications or websites to access the user's data.</p>\n<p>The third party sends a CareCloud Authorized Login request. After a user allows the authorization of a third-party application, CareCloud can pull up the application or redirect to the third-party website while bringing with it the authorized temporary ticket code parameter.</p>\n<p>The code parameter along with the AppID and AppSecret, etc. are exchanged for the access_token using the API;</p>\n<p>The access_token is used to call the CareCloud interface and retrieve the user's basic data and resources or to help the user perform basic operations.</p>\n<h2 id=\"step-one-request-code\">Step one: Request CODE</h2>\n<p>The following link can be opened on a PC:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{{Connect_Host}}/oauth2/login?AppId=APPID&amp;RedirectUri=REDIRECT_URI&amp;ResponseType=code&amp;State=STATE\n</code></pre><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AppId</td>\n<td>Yes</td>\n<td>Unique identifier for application</td>\n</tr>\n<tr>\n<td>RedirectUri</td>\n<td>Yes</td>\n<td>Please urlEncode use to adjust the link</td>\n</tr>\n<tr>\n<td>ResponseType</td>\n<td>Yes</td>\n<td>Fixed 'code'</td>\n</tr>\n<tr>\n<td>State</td>\n<td>No</td>\n<td>After the authorized request is made, the originals should be given back to the third party if they are being used to preserve the request and callback status. This parameter can be used to stop CSRF (Cross-Site Request Forgery) attacks. It is recommended that the third party bring this parameter; it can be set to a simple random number, which is added to the session and used for verification.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"return-descriptions\">Return descriptions</h3>\n<p>After providing authorization, the user will be redirected to the redirect_uri web address, and the code and state perimeters will be brought with them.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>REDIRECT_URI?code=CODE&amp;state=STATE\n</code></pre><p>If the user denies authorization, then after being redirected, the code parameters will not be brought with them; only the state parameters will be taken.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>REDIRECT_URI?state=STATE\n</code></pre><h2 id=\"step-two-the-code-is-used-to-obtain-the-long-term-access_token\">Step Two: The code is used to obtain the long term access_token</h2>\n<p>The code is used to obtain the access_token. The 'access token' is the call certificate of the interface related to the call authorization. </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{{Carewait_API_Host}}/oauth2/access_token?AppId=APPID&amp;Secret=SECRET&amp;Code=CODE&amp;GrantType=authorization_code\n</code></pre><p>If the access_token has expired, you will retrieve a new Access token and a new extended time period;</p>\n<h1 id=\"general\">General</h1>\n<h2 id=\"http-verbs\">HTTP Verbs</h2>\n<p>When interacting with the API, you will need to make use of the appropriate HTTP verb for the action you are trying to complete.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Verb</th>\n<th>Usage</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>GET</td>\n<td>Used for retrieving resources</td>\n</tr>\n<tr>\n<td>POST</td>\n<td>Used for creating resources</td>\n</tr>\n<tr>\n<td>PUT</td>\n<td>Used for updating resources</td>\n</tr>\n<tr>\n<td>DELETE</td>\n<td>Used for deleting resources</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"http-status-codes\">HTTP Status Codes</h2>\n<p>Every API response will include an HTTP status, which can be used to quickly determine the result of your request.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1xx</td>\n<td>Informational</td>\n</tr>\n<tr>\n<td>2xx</td>\n<td>Success</td>\n</tr>\n<tr>\n<td>3xx</td>\n<td>Redirection</td>\n</tr>\n<tr>\n<td>4xx</td>\n<td>Client error</td>\n</tr>\n<tr>\n<td>5xx</td>\n<td>Server error</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"paging\">Paging</h2>\n<p>When performing a search request, the API always return as paginated list with a default size of 100. This is to ensure speed, performance, and consistency in large responses. All paginated lists will have a default size of 100 resources, but can be further customized to meet your needs.</p>\n<h3 id=\"request-parameters\">Request parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Path</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CurrentPage</td>\n<td>Integer</td>\n<td>Page you want to retrieve, 1 indexed and defaults to 1</td>\n</tr>\n<tr>\n<td>PageSize</td>\n<td>Integer</td>\n<td>Size of the page you want to retrieve, defaults to 100</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"paginated-response-fields\">Paginated response fields</h3>\n<p>Search endpoints will return a standard paginated structure to quickly deliver key information about your search results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Path</th>\n<th>Type</th>\n<th>Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Data</td>\n<td>Object Array</td>\n<td>false</td>\n<td>Resources found</td>\n</tr>\n<tr>\n<td>IsSuccess</td>\n<td>boolean</td>\n<td>false</td>\n<td>True if no error</td>\n</tr>\n<tr>\n<td>ErrCode</td>\n<td>string</td>\n<td>false</td>\n<td>API error code, default is 200</td>\n</tr>\n<tr>\n<td>ErrMsg</td>\n<td>string</td>\n<td>true</td>\n<td>The message if existing any error</td>\n</tr>\n<tr>\n<td>Page.TotalRecords</td>\n<td>Integer</td>\n<td>false</td>\n<td>Total count of resource</td>\n</tr>\n<tr>\n<td>Page.TotalPageNumber</td>\n<td>Integer</td>\n<td>false</td>\n<td>Total pages with current page size</td>\n</tr>\n<tr>\n<td>Page.PageSize</td>\n<td>Integer</td>\n<td>false</td>\n<td>Requested size of the page</td>\n</tr>\n<tr>\n<td>Page.CurrentPage</td>\n<td>Integer</td>\n<td>false</td>\n<td>Page number</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 1,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}\n</code></pre>\n<h2 id=\"errors\">Errors</h2>\n<p>Any request that results in an error will return with a general error object containing debugging information in the following format.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"IsSuccess\": false,\n  \"ErrCode\": \"500\",\n  \"ErrMsg\": \" parameter is Required\",\n}\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"MCT CareCloud API","slug":"mct-carecloud-api"},{"content":"Authentication","slug":"authentication"},{"content":"General","slug":"general"}],"owner":"6575661","collectionId":"b3eaceee-cb82-4cc0-8855-0b7778025eb0","publishedId":"RztoM8Tx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-19T17:14:07.000Z"},"item":[{"name":"Site","item":[{"name":"Find all sites","id":"4a3da08c-b4d1-4fa0-b109-9e04ef017b61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/site?Status={{Status}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","description":"<p>Find all active site in your customer</p>\n","urlObject":{"path":["site"],"host":["{{Carewait_API_Host}}"],"query":[{"description":{"content":"<p>default site status: active</p>\n","type":"text/plain"},"key":"Status","value":"{{Status}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[]}},"response":[{"id":"9532db4f-d068-460b-848a-b61d6e3421df","name":"Find all sites","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/site?Status={{Status}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","host":["{{Carewait_API_Host}}"],"path":["site"],"query":[{"key":"Status","value":"{{Status}}","description":"default site status: active"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:37:29 GMT"},{"key":"Content-Length","value":"542"}],"cookie":[],"responseTime":null,"body":"{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 2,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [\n        {\n            \"SiteId\": 124,\n            \"SiteName\": \"SFUSD/Jean Parker CDC  Aft-s\",\n            \"Address\": {\n                \"Address\": \"840 Broadway St \",\n                \"City\": \"San Francisco\",\n                \"State\": \"CA\",\n                \"Zip\": \"94133\"\n            },\n            \"Phone\": \"4152917967\",\n            \"Email\": \"osbornes@sfusd.edu\",\n            \"Status\": 0\n        },\n        {\n            \"SiteId\": 165,\n            \"SiteName\": \"SFUSD-John Muir Early Education School\",\n            \"Address\": {\n                \"Address\": \"380 Webster St \",\n                \"City\": \"San Francisco\",\n                \"State\": \"CA\",\n                \"Zip\": \"94117\"\n            },\n            \"Phone\": \"4152416335\",\n            \"Email\": null,\n            \"Status\": 0\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"4a3da08c-b4d1-4fa0-b109-9e04ef017b61"},{"name":"Get one site","id":"d839386c-4aff-4d9d-8dc9-4a3b8b9f2562","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/site/:siteId","description":"<h6>Get one site info</h6>\n \n","urlObject":{"path":["site",":siteId"],"host":["{{Carewait_API_Host}}"],"query":[],"variable":[{"type":"any","value":"{{SiteId}}","key":"siteId"}]}},"response":[{"id":"481ae5b1-d7a3-489f-ae8e-37525f301785","name":"Get one site","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/site/:siteId","host":["{{Carewait_API_Host}}"],"path":["site",":siteId"],"variable":[{"key":"siteId","value":"{{SiteId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:37:32 GMT"},{"key":"Content-Length","value":"260"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": {\n        \"SiteId\": 124,\n        \"SiteName\": \"SFUSD/Jean Parker CDC  Aft-s\",\n        \"Address\": {\n            \"Address\": \"840 Broadway St \",\n            \"City\": \"San Francisco\",\n            \"State\": \"CA\",\n            \"Zip\": \"94133\"\n        },\n        \"Phone\": \"4152917967\",\n        \"Email\": \"osbornes@sfusd.edu\",\n        \"Status\": 0\n    },\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"d839386c-4aff-4d9d-8dc9-4a3b8b9f2562"},{"name":"Find all vacancy by site","id":"e9ca96b0-dd62-49fb-8c8e-7936c2fb32e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/sites/:siteId/vacancy?VacancyStatus={{VacancyStatus}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","description":"<h6>Get all vacancy list for one site</h6>\n\n<h6>by default vacancy status: Submitted</h6>\n\n","urlObject":{"path":["sites",":siteId","vacancy"],"host":["{{Carewait_API_Host}}"],"query":[{"key":"VacancyStatus","value":"{{VacancyStatus}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"type":"any","value":"{{SiteId}}","key":"siteId"}]}},"response":[{"id":"3076ac39-45cd-4986-baeb-08d3ee78f40f","name":"Find all vacancy by site","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/sites/:siteId/vacancy?VacancyStatus={{VacancyStatus}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","host":["{{Carewait_API_Host}}"],"path":["sites",":siteId","vacancy"],"query":[{"key":"VacancyStatus","value":"{{VacancyStatus}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"key":"siteId","value":"{{SiteId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:37:37 GMT"},{"key":"Content-Length","value":"338"}],"cookie":[],"responseTime":null,"body":"{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 1,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [\n        {\n            \"SiteId\": 124,\n            \"VacancyId\": \"09f18301-81e1-416e-b7cb-476e54bd8784\",\n            \"VacancyName\": \"CSPP Test for API\",\n            \"Subsidy\": \"CSPP Full Day\",\n            \"AvailableDate\": \"20190206\",\n            \"Status\": 1,\n            \"CreateTime\": \"2019-02-06T23:40:17.0000000\"\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"e9ca96b0-dd62-49fb-8c8e-7936c2fb32e6"},{"name":"Get one vacancy","id":"5503fc3a-54c5-40cb-ada5-43aca24534da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/sites/:siteId/vacancy/:vacancyId","description":"<h6>Get one vacancy info</h6>","urlObject":{"path":["sites",":siteId","vacancy",":vacancyId"],"host":["{{Carewait_API_Host}}"],"query":[],"variable":[{"type":"any","value":"{{SiteId}}","key":"siteId"},{"type":"any","value":"{{VacancyId}}","key":"vacancyId"}]}},"response":[{"id":"e71f37e2-97aa-467a-9811-174eb391091f","name":"Get one vacancy","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/sites/:siteId/vacancy/:vacancyId","host":["{{Carewait_API_Host}}"],"path":["sites",":siteId","vacancy",":vacancyId"],"variable":[{"key":"siteId","value":"{{SiteId}}"},{"key":"vacancyId","value":"{{VacancyId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:38:01 GMT"},{"key":"Content-Length","value":"338"}],"cookie":[],"responseTime":null,"body":"{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 1,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [\n        {\n            \"SiteId\": 124,\n            \"VacancyId\": \"09f18301-81e1-416e-b7cb-476e54bd8784\",\n            \"VacancyName\": \"CSPP Test for API\",\n            \"Subsidy\": \"CSPP Full Day\",\n            \"AvailableDate\": \"20190206\",\n            \"Status\": 1,\n            \"CreateTime\": \"2019-02-06T23:40:17.0000000\"\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"5503fc3a-54c5-40cb-ada5-43aca24534da"}],"id":"f17ed8b6-083c-40bf-bc5a-b11502d68cc5","event":[{"listen":"prerequest","script":{"id":"6c475201-9e11-42f8-a57d-0cc5861b9113","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d366f114-f4c4-4865-9535-0b1cafad3836","type":"text/javascript","exec":[""]}}],"_postman_id":"f17ed8b6-083c-40bf-bc5a-b11502d68cc5","description":""},{"name":"Referrals","item":[{"name":"Find referral children by site","id":"f3654246-3f37-473c-ba46-393d9ae6011b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/sites/:siteId/children?Status={{ChildQueueStatus}}&VacancyStatus={{VacancyStatus}}&IncludeEnrolled={{IncludeEnrolled}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","description":"<h6>Get Site Children List</h6>\n\n<h6>by default:</h6>\n<h6>child queue status: Enrolled</h6>\n<h6>vacancy status: Not closed</h6>\n<h6>IncludeEnrolled: 0 - Not include enrolled child(ren)</h6>\nIf IncludeEnrolled is equal to 0, the system will not return the referral that has been enrolled to Cocoa. Otherwise, all children are included.","urlObject":{"path":["sites",":siteId","children"],"host":["{{Carewait_API_Host}}"],"query":[{"key":"Status","value":"{{ChildQueueStatus}}"},{"key":"VacancyStatus","value":"{{VacancyStatus}}"},{"description":{"content":"<p>0: False/1: True</p>\n","type":"text/plain"},"key":"IncludeEnrolled","value":"{{IncludeEnrolled}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"type":"any","value":"{{SiteId}}","key":"siteId"}]}},"response":[{"id":"182d2b34-e63b-4522-b843-28dc6eb95e0c","name":"Find referraled children by site","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/sites/:siteId/children?Status={{ChildQueueStatus}}&VacancyStatus={{VacancyStatus}}&IncludeEnrolled={{IncludeEnrolled}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","host":["{{Carewait_API_Host}}"],"path":["sites",":siteId","children"],"query":[{"key":"Status","value":"{{ChildQueueStatus}}"},{"key":"VacancyStatus","value":"{{VacancyStatus}}"},{"key":"IncludeEnrolled","value":"{{IncludeEnrolled}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"key":"siteId","value":"{{SiteId}}"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 2,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [\n        {\n            \"ReferralId\": \"46b091b5-5822-4604-94e9-bf128ffdc933\",\n            \"SiteId\": \"124\",\n            \"VacancyId\": \"09f18301-81e1-416e-b7cb-476e54bd8784\",\n            \"VacancyName\": \"CSPP Test for API\",\n            \"VacancyStatus\": 1,\n            \"ChildId\": \"49d71c28-1ab1-4d08-84b5-4863bd339a32\",\n            \"ChildExternalId\": \"C0000051\",\n            \"ChildName\": \"ChildFirstName0261 LastName0261\",\n            \"ChildQueueStatus\": 23,\n            \"ChildDOB\": \"20150201\",\n            \"ChildGender\": \"M\",\n            \"ApplicationId\": \"43198ffc-3c7d-415c-8c67-7c54107cd0f3\",\n            \"ApplicationExternalId\": \"MT000026\",\n            \"FamilyName\": \"ParentFirstName026 LastName026\",\n            \"Notes\": null,,\n            \"Enrollment\": [\n                {\n                    \"ReferenceId\": \"46b091b5-5822-4604-94e9-bf128ffdc933\",\n                    \"EnrollmentTime\": \"03/29/2019 02:33:18\",\n                    \"EnrollmentInfo\": {\n                        \"enrollchildid\": \"ChildId001\",\n                        \"enrolledsystem\": \"Cocoa\",\n                        \"referenceid\": \"Reference0001\",\n                        \"enrollcareid\": \"Care0001\",\n                        \"enrollfamilyid\": \"FimilyId001\"\n                    }\n                }\n            ]\n        },\n        {\n            \"ReferralId\": \"a1565f06-e707-4e27-9a83-95afc99c60a4\",\n            \"SiteId\": \"124\",\n            \"VacancyId\": \"09f18301-81e1-416e-b7cb-476e54bd8784\",\n            \"VacancyName\": \"CSPP Test for API\",\n            \"VacancyStatus\": 1,\n            \"ChildId\": \"a5db030c-8407-4a22-b27a-369d0bc0551f\",\n            \"ChildExternalId\": \"C0000049\",\n            \"ChildName\": \"ChildFirstName0251 LastName0251\",\n            \"ChildQueueStatus\": 23,\n            \"ChildDOB\": \"20150201\",\n            \"ChildGender\": \"F\",\n            \"ApplicationId\": \"61d952d2-00f0-42cf-a239-dfd2756705cf\",\n            \"ApplicationExternalId\": \"MT000025\",\n            \"FamilyName\": \"ParentFirstName025 LastName025\",\n            \"Notes\": null,\n            \"Enrollment\": []\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"f3654246-3f37-473c-ba46-393d9ae6011b"},{"name":"Find referral children by vacancy","id":"de1ec6ee-0149-4ee5-b198-0ff9e0f0740a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/sites/:siteId/vacancy/:vacancyId/children?Status={{ChildQueueStatus}}&IncludeEnrolled={{IncludeEnrolled}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","description":"<h6>Get Vacancy Children List</h6>\n\n<h6>by default:</h6>\n<h6>child queue status: Enrolled</h6>\n<h6>IncludeEnrolled: 0 - Not include enrolled child(ren)</h6>\nIf IncludeEnrolled is  0, the system will not return the referral that has been enrolled to Cocoa. Otherwise, all children are included.","urlObject":{"path":["sites",":siteId","vacancy",":vacancyId","children"],"host":["{{Carewait_API_Host}}"],"query":[{"key":"Status","value":"{{ChildQueueStatus}}"},{"description":{"content":"<p>0: False/1: True</p>\n","type":"text/plain"},"key":"IncludeEnrolled","value":"{{IncludeEnrolled}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"type":"any","value":"{{SiteId}}","key":"siteId"},{"type":"any","value":"{{VacancyId}}","key":"vacancyId"}]}},"response":[{"id":"4fe568d0-f4f4-47f6-9715-ab683aa8882c","name":"Find referraled children by vacancy","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/sites/:siteId/vacancy/:vacancyId/children?Status={{ChildQueueStatus}}&IncludeEnrolled={{IncludeEnrolled}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","host":["{{Carewait_API_Host}}"],"path":["sites",":siteId","vacancy",":vacancyId","children"],"query":[{"key":"Status","value":"{{ChildQueueStatus}}"},{"key":"IncludeEnrolled","value":"{{IncludeEnrolled}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"key":"siteId","value":"{{SiteId}}"},{"key":"vacancyId","value":"{{VacancyId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:39:47 GMT"},{"key":"Content-Length","value":"1109"}],"cookie":[],"responseTime":null,"body":"{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 2,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [\n        {\n            \"ReferralId\": \"46b091b5-5822-4604-94e9-bf128ffdc933\",\n            \"SiteId\": \"124\",\n            \"VacancyId\": \"09f18301-81e1-416e-b7cb-476e54bd8784\",\n            \"VacancyName\": \"CSPP Test for API\",\n            \"ChildId\": \"49d71c28-1ab1-4d08-84b5-4863bd339a32\",\n            \"ChildExternalId\": \"C0000051\",\n            \"ChildName\": \"ChildFirstName0261 LastName0261\",\n            \"ChildQueueStatus\": 23,\n            \"ChildDOB\": \"20150201\",\n            \"ChildGender\": \"M\",\n            \"ApplicationId\": \"43198ffc-3c7d-415c-8c67-7c54107cd0f3\",\n            \"ApplicationExternalId\": \"MT000026\",\n            \"FamilyName\": \"ParentFirstName026 LastName026\",\n            \"Notes\": null,\n            \"Enrollment\": [\n                {\n                    \"ReferenceId\": \"46b091b5-5822-4604-94e9-bf128ffdc933\",\n                    \"EnrollmentTime\": \"03/29/2019 02:33:18\",\n                    \"EnrollmentInfo\": {\n                        \"enrollchildid\": \"ChildId001\",\n                        \"enrolledsystem\": \"Cocoa\",\n                        \"referenceid\": \"Reference0001\",\n                        \"enrollcareid\": \"Care0001\",\n                        \"enrollfamilyid\": \"FimilyId001\"\n                    }\n                }\n            ]\n        },\n        {\n            \"ReferralId\": \"a1565f06-e707-4e27-9a83-95afc99c60a4\",\n            \"SiteId\": \"124\",\n            \"VacancyId\": \"09f18301-81e1-416e-b7cb-476e54bd8784\",\n            \"VacancyName\": \"CSPP Test for API\",\n            \"ChildId\": \"a5db030c-8407-4a22-b27a-369d0bc0551f\",\n            \"ChildExternalId\": \"C0000049\",\n            \"ChildName\": \"ChildFirstName0251 LastName0251\",\n            \"ChildQueueStatus\": 23,\n            \"ChildDOB\": \"20150201\",\n            \"ChildGender\": \"F\",\n            \"ApplicationId\": \"61d952d2-00f0-42cf-a239-dfd2756705cf\",\n            \"ApplicationExternalId\": \"MT000025\",\n            \"FamilyName\": \"ParentFirstName025 LastName025\",\n            \"Notes\": null,\n            \"Enrollment\": []\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"de1ec6ee-0149-4ee5-b198-0ff9e0f0740a"},{"name":"Get one referral detail info","id":"974ee07d-0bcc-4183-9a56-405bb3b36dc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/referrals/:referralId","description":"<p>Get one referral with application detail info.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Days</td>\n<td>Sunday : 1 Monday : 2 Tuesday : 4 Wednesday :  8 Thursday : 16 Friday : 32 Saturday : 64</td>\n</tr>\n<tr>\n<td>Subsidy</td>\n<td>use code API, category is \"subsidy\"</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["referrals",":referralId"],"host":["{{Carewait_API_Host}}"],"query":[],"variable":[{"type":"any","value":"dac16059-4105-46df-b31a-db7d302f9f6f","key":"referralId"}]}},"response":[{"id":"a2545278-a5b8-4b45-ae37-88b14c61aab4","name":"Get one referral detail info","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/referrals/:referralId","host":["{{Carewait_API_Host}}"],"path":["referrals",":referralId"],"variable":[{"key":"referralId","value":"46b091b5-5822-4604-94e9-bf128ffdc933"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:20:54 GMT"},{"key":"Content-Length","value":"1668"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": {\n        \"Application\": {\n            \"ApplicationId\": \"43198ffc-3c7d-415c-8c67-7c54107cd0f3\",\n            \"ExternalId\": \"MT000026\",\n            \"FamilySize\": 3,\n            \"FamilyIncome\": 2000,\n            \"FamilyFeePT\": 0,\n            \"FamilyFeeFT\": 0,\n            \"Ranking\": 31,\n            \"Status\": 1,\n            \"OwnerOrgName\": \"Compass\",\n            \"OwnerName\": null,\n            \"Comment\": null,\n            \"RequestDate\": \"20190203\",\n            \"CreateBy\": null,\n            \"CreateDate\": \"2019-02-04T05:22:10.0000000\",\n            \"UpdateBy\": null,\n            \"UpdateDate\": \"2019-02-06T23:43:13.0000000\",\n            \"Disable\": false,\n            \"HasElsSiblingEnrollManual\": false,\n            \"HasElsSiblingEnroll\": false\n        },\n        \"Parents\": [\n            {\n                \"ParentId\": \"40c94b16-dbd3-4548-bdef-82d29d3ff472\",\n                \"ParentType\": \"A\",\n                \"FirstName\": \"ParentFirstName026\",\n                \"MiddleInitial\": \"\",\n                \"LastName\": \"LastName026\",\n                \"Language\": \"00\",\n                \"OtherLanguage\": \"\",\n                \"Address\": {\n                    \"Address\": \"test address\",\n                    \"City\": \"SAN FRANCISCO\",\n                    \"State\": \"CA\",\n                    \"Zip\": \"94124-0000\"\n                },\n                \"IsSameMailling\": true,\n                \"MaillingAddress\": {\n                    \"Address\": \"test address\",\n                    \"City\": \"SAN FRANCISCO\",\n                    \"State\": \"CA\",\n                    \"Zip\": \"94124-0000\"\n                },\n                \"PreferedContact\": null,\n                \"Email\": \"parent026@carewait.com\",\n                \"MobilePhone\": [],\n                \"HomePhone\": [],\n                \"IsSingleParent\": true,\n                \"IsHomeless\": true,\n                \"NeedsType\": null\n            }\n        ],\n        \"Children\": [\n            {\n                \"ChildId\": \"49d71c28-1ab1-4d08-84b5-4863bd339a32\",\n                \"ChildExternalId\": \"C0000051\",\n                \"FirstName\": \"ChildFirstName0261\",\n                \"MiddleInitial\": \"\",\n                \"LastName\": \"LastName0261\",\n                \"Gender\": \"M\",\n                \"DOB\": \"20150201\",\n                \"Language\": null,\n                \"OtherLanguage\": null,\n                \"Race\": \"4\",\n                \"Ethnicity\": false,\n                \"IsLimitedEnglish\": false,\n                \"SpecialNeeds\": null,\n                \"CPSType\": null,\n                \"Care\": {\n                    \"StartDate\": \"20190206\",\n                    \"Schedule\": [\n                        {\n                            \"Days\": 62,\n                            \"IO\": [\n                                {\n                                    \"In\": 7,\n                                    \"Out\": 18\n                                }\n                            ]\n                        }\n                    ],\n                    \"Subsidy\": [\n                        \"4\"\n                    ]\n                },\n                \"Status\": 15,\n                \"LastChangeStatusTime\": \"2019-02-06T23:48:34.0000000\",\n                \"EnrollProgram\": null,\n                \"EnrollSubsidy\": null,\n                \"EnrollmentStartDate\": null,\n                \"EnrollDate\": null,\n\t            \"Enrollment\": [\n\t                {\n\t                    \"ReferenceId\": \"dac16059-4105-46df-b31a-db7d302f9f6f\",\n\t                    \"EnrollmentTime\": \"03/29/2019 02:33:18\",\n\t                    \"EnrollmentInfo\": {\n\t                        \"enrollchildid\": \"ChildId001\",\n\t                        \"enrolledsystem\": \"Cocoa\",\n\t                        \"referenceid\": \"Reference0001\",\n\t                        \"enrollcareid\": \"Care0001\",\n\t                        \"enrollfamilyid\": \"FimilyId001\"\n\t                    }\n\t                }\n\t            ]\n            }\n        ],\n        \"OtherContacts\": []\n    },\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"974ee07d-0bcc-4183-9a56-405bb3b36dc1"},{"name":"Create child enroll","id":"e77339a9-db46-417a-910f-fc31c78f1b2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\t\"ReferenceId\": \"{{ReferenceId}}\",\n\t\"EnrollmentInfo\": \n\t{\n\t\t\"EnrollChildId\": \"123456\",\n\t\t\"EnrollCareId\": \"123456\",\n\t\t\"EnrollFamilyId\": \"123456\",\n\t\t\"EnrolledSystem\": \"App Name\"\n\t},\n\t\"EnrollmentUser\":\"{{EnrollmentUser}}\",\n\t\"EnrollmentOrganization\": \"{{EnrollmentOrganization}}\"\n\t\n}"},"url":"{{Carewait_API_Host}}/reference/:referenceid/enrollment","description":"<p>Update the application after it's enrolled in the third-party system, to get some related information.</p>\n<p>The referenceid is the <strong>ReferralId</strong> that you get from Children search API.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EnrolledSystem</td>\n<td>Your application name</td>\n</tr>\n<tr>\n<td>EnrollCareId</td>\n<td>Care id in your system</td>\n</tr>\n<tr>\n<td>EnrollChildId</td>\n<td>Child id in your system</td>\n</tr>\n<tr>\n<td>EnrollFamilyId</td>\n<td>Family id in your system</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["reference",":referenceid","enrollment"],"host":["{{Carewait_API_Host}}"],"query":[],"variable":[{"description":{"content":"<p>The primary key of the enrollment, if enrolled by the child referral, this should be {{ReferralId}} value.</p>\n","type":"text/plain"},"type":"string","value":"","key":"referenceid"}]}},"response":[{"id":"050f8336-0dff-43f4-8a94-77925b213874","name":"Create child enroll","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"body":{"mode":"raw","raw":"{\n\t\"ReferenceId\": \"{{ReferenceId}}\",\n\t\"EnrollmentInfo\": \n\t{\n\t\t\"EnrollChildId\": \"123456\",\n\t\t\"EnrollCareId\": \"123456\",\n\t\t\"EnrollFamilyId\": \"123456\",\n\t\t\"EnrolledSystem\": \"App Name\"\n\t},\n\t\"EnrollmentUser\":\"Enrollment User Name\",\n\t\"EnrollmentOrganization\": \"Enrollment Organization Name\"\n}"},"url":{"raw":"{{Carewait_API_Host}}/children/:childId/enrollment","host":["{{Carewait_API_Host}}"],"path":["children",":childId","enrollment"],"variable":[{"key":"childId","value":"{{ChildId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Sun, 03 Feb 2019 04:18:15 GMT"},{"key":"Content-Length","value":"56"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": true,\n    \"IsSuccess\": true,\n    \"ErrCode\": 201,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"e77339a9-db46-417a-910f-fc31c78f1b2b"}],"id":"6412ce18-ecac-4bf7-a527-a718bffe404d","event":[{"listen":"prerequest","script":{"id":"077697ba-3a81-4fea-998d-d5e2202a16f1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4758bfa7-4278-4c6f-9658-c2f1f7c62b15","type":"text/javascript","exec":[""]}}],"_postman_id":"6412ce18-ecac-4bf7-a527-a718bffe404d","description":""},{"name":"Queues","item":[{"name":"Find all enrollment queues","id":"009773e6-350e-4e84-8687-59419f741aef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/queues?CreateTimeFrom={{CreateTimeFrom}}&CreateTimeTo={{CreateTimeTo}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","description":"<p>Find all active enrollment queue(s) under your customer</p>\n","urlObject":{"path":["queues"],"host":["{{Carewait_API_Host}}"],"query":[{"key":"CreateTimeFrom","value":"{{CreateTimeFrom}}"},{"key":"CreateTimeTo","value":"{{CreateTimeTo}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[]}},"response":[{"id":"f20c68a8-ab4c-4775-920f-ff63f04de38c","name":"Find all enrollment queues","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":{"raw":"{{Carewait_API_Host}}/queues?CreateTimeFrom={{CreateTimeFrom}}&CreateTimeTo={{CreateTimeTo}}&CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","host":["{{Carewait_API_Host}}"],"path":["queues"],"query":[{"key":"CreateTimeFrom","value":"{{CreateTimeFrom}}"},{"key":"CreateTimeTo","value":"{{CreateTimeTo}}"},{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Sep 2019 08:45:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"358"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"}],"cookie":[],"responseTime":null,"body":"{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 1,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [\n        {\n            \"QueueId\": \"cd1a9a9f-e38d-4263-be8e-381e9746a171\",\n            \"CustomerName\": \"Wu Yee Children's Services\",\n            \"QueueName\": \"test2 enrollment\",\n            \"CategoryName\": \"Enrollment\",\n            \"Notes\": null,\n            \"Status\": 1,\n            \"CreateTime\": \"2019-09-11T08:42:53.0000000-07:00\"\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"009773e6-350e-4e84-8687-59419f741aef"},{"name":"Find children by enrollment queue","id":"3577d814-f0ae-434c-a277-6778b96f3657","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/queues/:QueueId/children?CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","description":"<p>Find all active enrollment queue(s) under your customer</p>\n","urlObject":{"path":["queues",":QueueId","children"],"host":["{{Carewait_API_Host}}"],"query":[{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"type":"string","value":"{{QueueId}}","key":"QueueId"}]}},"response":[{"id":"d6a8ebef-7ecd-47de-a86a-33f798d0a305","name":"Find children by enrollment queue","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/queues/:QueueId/children?CurrentPage={{CurrentPage}}&PageSize={{PageSize}}","host":["{{Carewait_API_Host}}"],"path":["queues",":QueueId","children"],"query":[{"key":"CurrentPage","value":"{{CurrentPage}}"},{"key":"PageSize","value":"{{PageSize}}"}],"variable":[{"key":"QueueId","value":"{{QueueId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Sep 2019 08:56:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3516"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"private"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"}],"cookie":[],"responseTime":null,"body":"{\n    \"Pager\": {\n        \"currentPage\": 1,\n        \"pageSize\": 100,\n        \"totalRecords\": 4,\n        \"totalPageNumber\": 1\n    },\n    \"Data\": [\n        {\n            \"ReferralId\": \"e921dc0b-71ed-43e5-a246-32ac17ff54e2\",\n            \"QueueId\": \"cd1a9a9f-e38d-4263-be8e-381e9746a171\",\n            \"QueueName\": \"test2 enrollment\",\n            \"CustomerName\": \"Wu Yee Children's Services\",\n            \"ChildId\": \"002a7d44-d635-4981-85ec-b47acf8ec09c\",\n            \"ChildExternalId\": \"C0000264\",\n            \"ChildFirstName\": \"ChildFirstName1322\",\n            \"ChildMiddleInitial\": \"\",\n            \"ChildLastName\": \"LastName1322\",\n            \"ChildStatus\": 11,\n            \"ChildQueueStatus\": 21,\n            \"ChildDOB\": \"20100601\",\n            \"ChildGender\": \"M\",\n            \"ApplicationId\": \"37bf8d4e-1aa2-4ea4-b9a4-322c86c1a3de\",\n            \"ApplicationExternalId\": \"MT000132\",\n            \"FamilyName\": \"ParentFirstName132 LastName132\",\n            \"Address\": {\n                \"Address\": \"test address\",\n                \"City\": \"SAN FRANCISCO\",\n                \"State\": \"CA\",\n                \"Zip\": \"94124-0000\"\n            },\n            \"IsSameMailling\": true,\n            \"MaillingAddress\": null,\n            \"IsHomeless\": false,\n            \"Notes\": null,\n            \"ParentALastName\": \"LastName132\",\n            \"ParentAFirstName\": \"ParentFirstName132\",\n            \"ParentAMiddleInitial\": \"\",\n            \"Enrollment\": []\n        },\n        {\n            \"ReferralId\": \"4214c745-8bf9-4c18-9977-6f20f961f4a6\",\n            \"QueueId\": \"cd1a9a9f-e38d-4263-be8e-381e9746a171\",\n            \"QueueName\": \"test2 enrollment\",\n            \"CustomerName\": \"Wu Yee Children's Services\",\n            \"ChildId\": \"00c8daef-909f-45d4-8184-fcddedf3dc9e\",\n            \"ChildExternalId\": \"C0000431\",\n            \"ChildFirstName\": \"ChildFirstName2161\",\n            \"ChildMiddleInitial\": \"\",\n            \"ChildLastName\": \"LastName2161\",\n            \"ChildStatus\": 11,\n            \"ChildQueueStatus\": 21,\n            \"ChildDOB\": \"20150201\",\n            \"ChildGender\": \"M\",\n            \"ApplicationId\": \"b9df6dce-51dc-4f4d-afd6-111adb38b22b\",\n            \"ApplicationExternalId\": \"MT000216\",\n            \"FamilyName\": \"ParentFirstName216 LastName216\",\n            \"Address\": {\n                \"Address\": \"test address\",\n                \"City\": \"SAN FRANCISCO\",\n                \"State\": \"CA\",\n                \"Zip\": \"94124-0000\"\n            },\n            \"IsSameMailling\": true,\n            \"MaillingAddress\": null,\n            \"IsHomeless\": true,\n            \"Notes\": null,\n            \"ParentALastName\": \"LastName216\",\n            \"ParentAFirstName\": \"ParentFirstName216\",\n            \"ParentAMiddleInitial\": \"\",\n            \"Enrollment\": []\n        },\n        {\n            \"ReferralId\": \"ffcac67f-7c0f-453b-bf36-6b6a39288ea0\",\n            \"QueueId\": \"cd1a9a9f-e38d-4263-be8e-381e9746a171\",\n            \"QueueName\": \"test2 enrollment\",\n            \"CustomerName\": \"Wu Yee Children's Services\",\n            \"ChildId\": \"00edd7bd-9c5d-459c-a6d2-97cc170a014a\",\n            \"ChildExternalId\": \"C0000536\",\n            \"ChildFirstName\": \"ChildFirstName2682\",\n            \"ChildMiddleInitial\": \"\",\n            \"ChildLastName\": \"LastName2682\",\n            \"ChildStatus\": 11,\n            \"ChildQueueStatus\": 21,\n            \"ChildDOB\": \"20100601\",\n            \"ChildGender\": \"M\",\n            \"ApplicationId\": \"1ccb4f95-ae0f-4ca8-8cf7-3237023093a5\",\n            \"ApplicationExternalId\": \"MT000268\",\n            \"FamilyName\": \"ParentFirstName268 LastName268\",\n            \"Address\": {\n                \"Address\": \"test address\",\n                \"City\": \"SAN FRANCISCO\",\n                \"State\": \"CA\",\n                \"Zip\": \"94124-0000\"\n            },\n            \"IsSameMailling\": true,\n            \"MaillingAddress\": null,\n            \"IsHomeless\": true,\n            \"Notes\": null,\n            \"ParentALastName\": \"LastName268\",\n            \"ParentAFirstName\": \"ParentFirstName268\",\n            \"ParentAMiddleInitial\": \"\",\n            \"Enrollment\": []\n        },\n        {\n            \"ReferralId\": \"a3d7be11-65af-4d7d-8e14-505280a5384a\",\n            \"QueueId\": \"cd1a9a9f-e38d-4263-be8e-381e9746a171\",\n            \"QueueName\": \"test2 enrollment\",\n            \"CustomerName\": \"Wu Yee Children's Services\",\n            \"ChildId\": \"02030eed-673f-4069-953e-989eb39ea464\",\n            \"ChildExternalId\": \"C0000571\",\n            \"ChildFirstName\": \"ChildFirstName2861\",\n            \"ChildMiddleInitial\": \"\",\n            \"ChildLastName\": \"LastName2861\",\n            \"ChildStatus\": 11,\n            \"ChildQueueStatus\": 21,\n            \"ChildDOB\": \"20150201\",\n            \"ChildGender\": \"M\",\n            \"ApplicationId\": \"d9fd99ce-6d55-4153-bf47-ed91824785f6\",\n            \"ApplicationExternalId\": \"MT000286\",\n            \"FamilyName\": \"ParentFirstName286 LastName286\",\n            \"Address\": {\n                \"Address\": \"test address\",\n                \"City\": \"SAN FRANCISCO\",\n                \"State\": \"CA\",\n                \"Zip\": \"94124-0000\"\n            },\n            \"IsSameMailling\": true,\n            \"MaillingAddress\": null,\n            \"IsHomeless\": true,\n            \"Notes\": null,\n            \"ParentALastName\": \"LastName286\",\n            \"ParentAFirstName\": \"ParentFirstName286\",\n            \"ParentAMiddleInitial\": \"\",\n            \"Enrollment\": []\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"3577d814-f0ae-434c-a277-6778b96f3657"}],"id":"88795e63-79df-4f7b-a4b1-138db4ae747d","_postman_id":"88795e63-79df-4f7b-a4b1-138db4ae747d","description":""},{"name":"Applicatons","item":[{"name":"Get one child detail info","id":"b7460e74-1ee9-4836-b7a1-6f31614b624d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/children/:childId","description":"<h6>Get one child with application detail info</h6>\n\n","urlObject":{"path":["children",":childId"],"host":["{{Carewait_API_Host}}"],"query":[],"variable":[{"type":"any","value":"{{ChildId}}","key":"childId"}]}},"response":[{"id":"80b4e8e7-98e2-4ff1-879d-658ba390924e","name":"Get one child detail info","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/children/:childId","host":["{{Carewait_API_Host}}"],"path":["children",":childId"],"variable":[{"key":"childId","value":"{{ChildId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:40:18 GMT"},{"key":"Content-Length","value":"1619"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": {\n        \"Application\": {\n            \"ApplicationId\": \"726b4a05-57b4-4286-997d-18cb82d6283e\",\n            \"ExternalId\": \"MT000001\",\n            \"FamilySize\": 3,\n            \"FamilyIncome\": 2000,\n            \"FamilyFeePT\": 0,\n            \"FamilyFeeFT\": 0,\n            \"Ranking\": 31,\n            \"Status\": 1,\n            \"OwnerOrgName\": \"Children's Council of San Francisco\",\n            \"OwnerName\": \"CCSF admin\",\n            \"Comment\": null,\n            \"RequestDate\": \"20190203\",\n            \"CreateBy\": null,\n            \"CreateDate\": \"2019-02-04T05:20:36.0000000\",\n            \"UpdateBy\": null,\n            \"UpdateDate\": \"2019-02-05T00:19:41.0000000\",\n            \"Disable\": false,\n            \"HasElsSiblingEnrollManual\": false,\n            \"HasElsSiblingEnroll\": false\n        },\n        \"Parents\": [\n            {\n                \"ParentId\": \"b49ac5ac-0f01-4e75-abde-b56dfd8aa491\",\n                \"ParentType\": \"A\",\n                \"FirstName\": \"ParentFirstName001\",\n                \"MiddleInitial\": \"\",\n                \"LastName\": \"LastName001\",\n                \"Language\": \"00\",\n                \"OtherLanguage\": \"\",\n                \"Address\": {\n                    \"Address\": \"test address\",\n                    \"City\": \"SAN FRANCISCO\",\n                    \"State\": \"CA\",\n                    \"Zip\": \"94124-0000\"\n                },\n                \"IsSameMailling\": true,\n                \"MaillingAddress\": {\n                    \"Address\": \"test address\",\n                    \"City\": \"SAN FRANCISCO\",\n                    \"State\": \"CA\",\n                    \"Zip\": \"94124-0000\"\n                },\n                \"PreferedContact\": null,\n                \"Email\": \"parent001@carewait.com\",\n                \"MobilePhone\": [],\n                \"HomePhone\": [],\n                \"IsSingleParent\": true,\n                \"IsHomeless\": false,\n                \"NeedsType\": null\n            }\n        ],\n        \"Children\": [\n            {\n                \"ChildId\": \"b12f34d8-0334-4954-a175-0b542f39940b\",\n                \"ChildExternalId\": \"C0000001\",\n                \"FirstName\": \"ChildFirstName0011\",\n                \"MiddleInitial\": \"\",\n                \"LastName\": \"LastName0011\",\n                \"Gender\": \"F\",\n                \"DOB\": \"20150201\",\n                \"Language\": null,\n                \"OtherLanguage\": null,\n                \"Race\": \"4\",\n                \"Ethnicity\": false,\n                \"IsLimitedEnglish\": false,\n                \"SpecialNeeds\": null,\n                \"CPSType\": null,\n                \"Care\": null,\n                \"Status\": 15,\n                \"LastChangeStatusTime\": \"2019-02-04T21:00:37.0000000\",\n                \"EnrollProgram\": null,\n                \"EnrollSubsidy\": null,\n                \"EnrollmentStartDate\": null,\n                \"EnrollDate\": null,\n\t            \"Enrollment\": [\n\t                {\n\t                    \"ReferenceId\": \"b12f34d8-0334-4954-a175-0b542f39940b\",\n\t                    \"EnrollmentTime\": \"03/29/2019 02:33:18\",\n\t                    \"EnrollmentInfo\": {\n\t                        \"enrollchildid\": \"ChildId001\",\n\t                        \"enrolledsystem\": \"Cocoa\",\n\t                        \"referenceid\": \"Reference0001\",\n\t                        \"enrollcareid\": \"Care0001\",\n\t                        \"enrollfamilyid\": \"FimilyId001\"\n\t                    }\n\t                }\n\t            ]\n            }\n        ],\n        \"OtherContacts\": []\n    },\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"b7460e74-1ee9-4836-b7a1-6f31614b624d"},{"name":"Get one application detail","id":"258fda5f-d3fe-4111-93e8-e7a6e473cc7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/applications/:applicationId","description":"<h6>Get all children with application detail info</h6>\n\n\n","urlObject":{"path":["applications",":applicationId"],"host":["{{Carewait_API_Host}}"],"query":[],"variable":[{"type":"any","value":"{{ApplicationId}}","key":"applicationId"}]}},"response":[{"id":"fea8a685-afa3-4dd9-a924-d5d2d0afa441","name":"Get one application detail","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/applications/:applicationId","host":["{{Carewait_API_Host}}"],"path":["applications",":applicationId"],"variable":[{"key":"applicationId","value":"{{ApplicationId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 19:41:51 GMT"},{"key":"Content-Length","value":"2060"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Data\": {\r\n        \"Application\": {\r\n            \"ApplicationId\": \"e0a297c4-435f-49ca-8fe9-e7edb89230a9\",\r\n            \"ExternalId\": \"A0000346\",\r\n            \"FamilySize\": 3,\r\n            \"FamilyIncome\": 4123,\r\n            \"FamilyFeePT\": 197,\r\n            \"FamilyFeeFT\": 394,\r\n            \"Ranking\": 64,\r\n            \"Status\": 1,\r\n            \"OwnerOrgName\": \"Children's Council of San Francisco\",\r\n            \"OwnerName\": \"System OP hu\",\r\n            \"Comment\": \"test note\",\r\n            \"RequestDate\": \"20180906\",\r\n            \"CreateBy\": \"application09062 PA\",\r\n            \"CreateDate\": \"2018-09-06T09:08:44.0000000\",\r\n            \"UpdateBy\": \"System OP hu\",\r\n            \"UpdateDate\": \"2019-03-13T18:29:30.0000000\",\r\n            \"Disable\": false,\r\n            \"HasElsSiblingEnrollManual\": false,\r\n            \"HasElsSiblingEnroll\": true\r\n        },\r\n        \"Parents\": [\r\n            {\r\n                \"ParentId\": \"274624e8-405f-4ce2-b15c-7b8017482a04\",\r\n                \"ParentType\": \"A\",\r\n                \"FirstName\": \"application09062\",\r\n                \"MiddleInitial\": \"m\",\r\n                \"LastName\": \"PA\",\r\n                \"Language\": \"00\",\r\n                \"OtherLanguage\": null,\r\n                \"Address\": {\r\n                    \"Address\": \"test address\",\r\n                    \"City\": \"SAN FRANCISCO\",\r\n                    \"State\": \"CA\",\r\n                    \"Zip\": \"11111-1111\"\r\n                },\r\n                \"IsSameMailling\": true,\r\n                \"MaillingAddress\": {\r\n                    \"Address\": \"test address\",\r\n                    \"City\": \"SAN FRANCISCO\",\r\n                    \"State\": \"CA\",\r\n                    \"Zip\": \"11111-1111\"\r\n                },\r\n                \"PreferedContact\": [\r\n                    \"1\",\r\n                    \"2\",\r\n                    \"4\"\r\n                ],\r\n                \"Email\": \"application09062_b@carewait.com\",\r\n                \"MobilePhone\": [\r\n                    \"1111111111\",\r\n                    \"3333333333\"\r\n                ],\r\n                \"HomePhone\": [\r\n                    \"2222222222222\",\r\n                    \"4444444444444\"\r\n                ],\r\n                \"IsSingleParent\": false,\r\n                \"IsHomeless\": false,\r\n                \"NeedsType\": [\r\n                    \"16\",\r\n                    \"64\"\r\n                ]\r\n            },\r\n            {\r\n                \"ParentId\": \"ca6dca7c-6566-4e0f-a517-cf990bc53868\",\r\n                \"ParentType\": \"B\",\r\n                \"FirstName\": \"ParentB\",\r\n                \"MiddleInitial\": \"m\",\r\n                \"LastName\": \"ln\",\r\n                \"Language\": \"-1\",\r\n                \"OtherLanguage\": \"EN\",\r\n                \"Address\": {\r\n                    \"Address\": null,\r\n                    \"City\": \"SAN FRANCISCO\",\r\n                    \"State\": \"CA\",\r\n                    \"Zip\": null\r\n                },\r\n                \"IsSameMailling\": true,\r\n                \"MaillingAddress\": {\r\n                    \"Address\": null,\r\n                    \"City\": \"SAN FRANCISCO\",\r\n                    \"State\": \"CA\",\r\n                    \"Zip\": null\r\n                },\r\n                \"PreferedContact\": [\r\n                    \"1\"\r\n                ],\r\n                \"Email\": \"application09062@carewait.com\",\r\n                \"MobilePhone\": [],\r\n                \"HomePhone\": [],\r\n                \"IsSingleParent\": false,\r\n                \"IsHomeless\": true,\r\n                \"NeedsType\": [\r\n                    \"64\",\r\n                    \"128\"\r\n                ]\r\n            }\r\n        ],\r\n        \"Children\": [\r\n            {\r\n                \"ChildId\": \"0ab468c3-53cd-43a1-9400-0cb131cf3205\",\r\n                \"ChildExternalId\": \"C0000534\",\r\n                \"FirstName\": \"application09062\",\r\n                \"MiddleInitial\": null,\r\n                \"LastName\": \"C1\",\r\n                \"Gender\": \"F\",\r\n                \"DOB\": \"20150618\",\r\n                \"Language\": [\r\n                    \"00\"\r\n                ],\r\n                \"OtherLanguage\": null,\r\n                \"Race\": [\r\n                    \"1\"\r\n                ],\r\n                \"Ethnicity\": true,\r\n                \"IsLimitedEnglish\": true,\r\n                \"SpecialNeeds\": [\r\n                    \"1\",\r\n                    \"4\",\r\n                    \"8\"\r\n                ],\r\n                \"CPSType\": [\r\n                    \"1\",\r\n                    \"2\"\r\n                ],\r\n                \"Care\": {\r\n                    \"Program\": \" Yi Zhang01\",\r\n                    \"Subsidy\": \"ELSReserved\",\r\n                    \"StartDate\": \"20180906\",\r\n                    \"Schedule\": {\r\n                        \"Sunday\": [],\r\n                        \"Monday\": [\r\n                            {\r\n                                \"InTime\": \"07:00 AM\",\r\n                                \"OutTime\": \"06:00 PM\"\r\n                            }\r\n                        ],\r\n                        \"Tuesday\": [\r\n                            {\r\n                                \"InTime\": \"07:00 AM\",\r\n                                \"OutTime\": \"06:00 PM\"\r\n                            }\r\n                        ],\r\n                        \"Wednesday\": [\r\n                            {\r\n                                \"InTime\": \"07:00 AM\",\r\n                                \"OutTime\": \"06:00 PM\"\r\n                            }\r\n                        ],\r\n                        \"Thursday\": [\r\n                            {\r\n                                \"InTime\": \"07:00 AM\",\r\n                                \"OutTime\": \"06:00 PM\"\r\n                            }\r\n                        ],\r\n                        \"Friday\": [\r\n                            {\r\n                                \"InTime\": \"07:00 AM\",\r\n                                \"OutTime\": \"06:00 PM\"\r\n                            }\r\n                        ],\r\n                        \"Saturday\": []\r\n                    }\r\n                },\r\n                \"Status\": 15,\r\n                \"LastChangeStatusTime\": \"2018-09-26T04:21:44.0000000\",\r\n                \"EnrollDate\": \"20180906\",\r\n\t            \"Enrollment\": [\r\n\t                {\r\n\t                    \"ReferenceId\": \"0ab468c3-53cd-43a1-9400-0cb131cf3205\",\r\n\t                    \"EnrollmentTime\": \"03/29/2019 02:33:18\",\r\n\t                    \"EnrollmentInfo\": {\r\n\t                        \"enrollchildid\": \"ChildId001\",\r\n\t                        \"enrolledsystem\": \"Cocoa\",\r\n\t                        \"referenceid\": \"Reference0001\",\r\n\t                        \"enrollcareid\": \"Care0001\",\r\n\t                        \"enrollfamilyid\": \"FimilyId001\"\r\n\t                    }\r\n\t                }\r\n\t            ]\r\n            },\r\n            {\r\n                \"ChildId\": \"f2326529-ce9a-4d57-bdb9-b0fde8c043ef\",\r\n                \"ChildExternalId\": \"C0006204\",\r\n                \"FirstName\": \"child2\",\r\n                \"MiddleInitial\": \"m\",\r\n                \"LastName\": \"ln\",\r\n                \"Gender\": \"M\",\r\n                \"DOB\": \"20190107\",\r\n                \"Language\": [\r\n                    \"-1\"\r\n                ],\r\n                \"OtherLanguage\": \"EN\",\r\n                \"Race\": [\r\n                    \"1\",\r\n                    \"2\",\r\n                    \"4\",\r\n                    \"8\",\r\n                    \"16\"\r\n                ],\r\n                \"Ethnicity\": true,\r\n                \"IsLimitedEnglish\": true,\r\n                \"SpecialNeeds\": [],\r\n                \"CPSType\": [],\r\n                \"Care\": null,\r\n                \"Status\": 11,\r\n                \"LastChangeStatusTime\": \"2019-03-13T10:26:27.0000000\",\r\n                \"EnrollDate\": null,\r\n            \t\"Enrollment\": []\r\n            }\r\n        ],\r\n        \"OtherContacts\": [\r\n            {\r\n                \"FirstName\": \"Jack\",\r\n                \"LastName\": \"Tom\",\r\n                \"MiddleInitial\": \"m\",\r\n                \"Type\": 1,\r\n                \"RelationshipName\": \"org name\",\r\n                \"Email\": \"test@a.com\",\r\n                \"HomePhone\": [\r\n                    \"6666666666666\"\r\n                ],\r\n                \"MobilePhone\": [\r\n                    \"5555555555\"\r\n                ]\r\n            }\r\n        ]\r\n    },\r\n    \"IsSuccess\": true,\r\n    \"ErrCode\": 200,\r\n    \"ErrMsg\": \"\"\r\n}"}],"_postman_id":"258fda5f-d3fe-4111-93e8-e7a6e473cc7a"}],"id":"91144b32-d04b-4bb1-8834-a8ed84678e67","_postman_id":"91144b32-d04b-4bb1-8834-a8ed84678e67","description":""},{"name":"Code","item":[{"name":"Get code value by catego","id":"4d2d9146-95ab-41aa-8a86-a4eedfa5c3b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/systemcode/:category","description":"<h6>Get code value by category</h6>\n\n \n<h4>Field Value Translation</h4>\n\n\n\n<p><em>Version Change History</em></p>\n<ul>\n<li>07/22/2019: Add a new category for gender</li>\n</ul>\n<p><strong>Category:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Category</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ApplicationStatus</td>\n</tr>\n<tr>\n<td>ChildQueueStatus</td>\n</tr>\n<tr>\n<td>ChildStatus</td>\n</tr>\n<tr>\n<td>CPSAtRisk</td>\n</tr>\n<tr>\n<td>Needs</td>\n</tr>\n<tr>\n<td>OtherContactType</td>\n</tr>\n<tr>\n<td>ParentType</td>\n</tr>\n<tr>\n<td>PreferedContact</td>\n</tr>\n<tr>\n<td>Race</td>\n</tr>\n<tr>\n<td>SiteStatus</td>\n</tr>\n<tr>\n<td>SpecialNeeds</td>\n</tr>\n<tr>\n<td>Subsidy</td>\n</tr>\n<tr>\n<td>VacancyStatus</td>\n</tr>\n<tr>\n<td>Gender</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["systemcode",":category"],"host":["{{Carewait_API_Host}}"],"query":[],"variable":[{"type":"any","value":"SiteStatus","key":"category"}]}},"response":[{"id":"4e6e73f6-4902-4a0c-995f-7384c5dc9ee3","name":"Get code value by category","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/systemcode/:category","host":["{{Carewait_API_Host}}"],"path":["systemcode",":category"],"variable":[{"key":"category","value":"{{Category}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Sun, 03 Feb 2019 04:18:22 GMT"},{"key":"Content-Length","value":"242"}],"cookie":[],"responseTime":null,"body":"{\n    \"Data\": [\n        {\n            \"Category\": \"ChildQueueStatus\",\n            \"Name\": \"Active\",\n            \"Value\": \"21\"\n        },\n        {\n            \"Category\": \"ChildQueueStatus\",\n            \"Name\": \"Processing\",\n            \"Value\": \"22\"\n        },\n        {\n            \"Category\": \"ChildQueueStatus\",\n            \"Name\": \"Enrolled\",\n            \"Value\": \"23\"\n        }\n    ],\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"4d2d9146-95ab-41aa-8a86-a4eedfa5c3b3"}],"id":"149cbdde-6caa-41eb-8bc4-b0326faff812","_postman_id":"149cbdde-6caa-41eb-8bc4-b0326faff812","description":""},{"name":"OAuth","item":[{"name":"Get long term access token","id":"65d19caf-7e99-49bf-a930-70ab976f0ec6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"<p>API access code</p>\n","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":"{{Carewait_API_Host}}/oauth2/access_token?AppId=CW1001&Secret=48daa6344884763ef9cd&Code=5ee83c7136854423b1be964fbc584a6f&GrantType=authorization_code","description":"<p>The long term access token used to access api.</p>\n<h2 id=\"response\">Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n\"accesstoken\":\"ACCESS_TOKEN\",\n\"expiresin\":7200,\n\"scope\":\"SCOPE\"\n}\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>AccessToken</td>\n<td>interface call certificate</td>\n</tr>\n<tr>\n<td>ExpiresIn</td>\n<td>Extended time period and unit (seconds) for access_token interface call certificate</td>\n</tr>\n<tr>\n<td>Scope</td>\n<td>To define the scope of user authorization, please use a comma (,) to separate each one</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["oauth2","access_token"],"host":["{{Carewait_API_Host}}"],"query":[{"description":{"content":"<p>Unique identifier for application</p>\n","type":"text/plain"},"key":"AppId","value":"CW1001"},{"description":{"content":"<p>The application key AppSecret</p>\n","type":"text/plain"},"key":"Secret","value":"48daa6344884763ef9cd"},{"description":{"content":"<p>The authorization code parameter obtained in the first step</p>\n","type":"text/plain"},"key":"Code","value":"5ee83c7136854423b1be964fbc584a6f"},{"description":{"content":"<p>Fixed \"authorization_code\"</p>\n","type":"text/plain"},"key":"GrantType","value":"authorization_code"}],"variable":[]}},"response":[{"id":"6fa6d546-0fd9-44ec-80ac-b756591750c5","name":"Get long term access token","originalRequest":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","type":"text","value":"application/json"},{"description":"API access code","key":"x-api-key","type":"text","value":"{{x-api-key}}"}],"url":{"raw":"{{Carewait_API_Host}}/oauth2/access_token?AppId=CW1001&Secret=48daa6344884763ef9cd&Code=da586db18d6e48daa6340384763ef9cd&GrantType=authorization_code","host":["{{Carewait_API_Host}}"],"path":["oauth2","access_token"],"query":[{"key":"AppId","value":"CW1001","description":"Unique identifier for application"},{"key":"Secret","value":"48daa6344884763ef9cd","description":"The application key AppSecret"},{"key":"Code","value":"da586db18d6e48daa6340384763ef9cd","description":"The authorization code parameter obtained in the first step"},{"key":"GrantType","value":"authorization_code","description":"Fixed \"authorization_code\""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Vary","value":"Accept"},{"key":"Server","value":"Microsoft-IIS/8.5"},{"key":"X-Powered-By","value":"ServiceStack/5.40 Net45/Windows"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, PATCH, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Content-Type"},{"key":"X-AspNet-Version","value":"4.0.30319"},{"key":"Date","value":"Thu, 07 Feb 2019 20:06:02 GMT"},{"key":"Content-Length","value":"137"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccessToken\": \"TCv3FlVgzTnmuvldfx5h26NZx2LTjyaKcISqe9TlQl8.\",\n    \"ExpiresIn\": 3000,\n    \"Scope\": \"ELSF\",\n    \"IsSuccess\": true,\n    \"ErrCode\": 200,\n    \"ErrMsg\": \"\"\n}"}],"_postman_id":"65d19caf-7e99-49bf-a930-70ab976f0ec6"}],"id":"43bca5f6-3ea0-4065-98d0-db208c679200","_postman_id":"43bca5f6-3ea0-4065-98d0-db208c679200","description":""},{"name":"Vacancy","item":[{"name":"Find all vacancies","id":"47546dc9-1087-473b-8b2d-239163eb0ad1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{BearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"{{x-api-key}}","type":"text"}],"url":"{{Carewait_API_Host}}/vacancy/list?Skip=0&Take=20&OrderBy=-VacancyUpdateTime&Include=Total&RequestCustomerId=8&CCSFIdIsNotNull=&VacancyCreateTimeGreaterThanOrEqualTo=2021-07-28 07:00:00&VacancyUpdateTimeGreaterThanOrEqualTo=2021-07-28 07:00:00&fields=ProviderName,CCSFId,VacancyId,VacancyName,VacancyExternalId,VacancyCount,EnrolledCount,VacancyStatus,VacancyStartDate,VacancyDOBStart,VacancyDOBEnd,VacancyGender,VacancyDistanceLearning,VacancyScheduleDays,VacancyScheduleIn,VacancyScheduleOut,VacancyLastChangeStatusTime,VacancySubmitTime,VacancyCreateTime,VacancyUpdateTime","description":"<p>Find all vacancy in your customer</p>\n","urlObject":{"path":["vacancy","list"],"host":["{{Carewait_API_Host}}"],"query":[{"key":"Skip","value":"0"},{"key":"Take","value":"20"},{"key":"OrderBy","value":"-VacancyUpdateTime"},{"key":"Include","value":"Total"},{"key":"RequestCustomerId","value":"8"},{"key":"CCSFIdIsNotNull","value":""},{"key":"VacancyCreateTimeGreaterThanOrEqualTo","value":"2021-07-28 07:00:00"},{"key":"VacancyUpdateTimeGreaterThanOrEqualTo","value":"2021-07-28 07:00:00"},{"key":"fields","value":"ProviderName,CCSFId,VacancyId,VacancyName,VacancyExternalId,VacancyCount,EnrolledCount,VacancyStatus,VacancyStartDate,VacancyDOBStart,VacancyDOBEnd,VacancyGender,VacancyDistanceLearning,VacancyScheduleDays,VacancyScheduleIn,VacancyScheduleOut,VacancyLastChangeStatusTime,VacancySubmitTime,VacancyCreateTime,VacancyUpdateTime"}],"variable":[]}},"response":[],"_postman_id":"47546dc9-1087-473b-8b2d-239163eb0ad1"}],"id":"8c1470b2-118a-4432-af2b-97db2a485acd","_postman_id":"8c1470b2-118a-4432-af2b-97db2a485acd","description":""}]}