Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "swagger": "2.0",
- "info": {
- "version": "v1",
- "title": "CIS.Navigator.MobileWebApi"
- },
- "host": "navigatormobileservicesuat.cisgroup.net",
- "schemes": [
- "https"
- ],
- "paths": {
- "/api/briefcase": {
- "get": {
- "tags": [
- "Briefcase"
- ],
- "operationId": "Briefcase_Get",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/briefcase/{id}": {
- "get": {
- "tags": [
- "Briefcase"
- ],
- "operationId": "Briefcase_Get",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "type": "integer",
- "format": "int64"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/briefcase/autoclaim": {
- "put": {
- "tags": [
- "Briefcase"
- ],
- "operationId": "Briefcase_PutAutoClaim",
- "consumes": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml",
- "application/x-www-form-urlencoded"
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "assignmentRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AutoClaimAssignmentRequest"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/capture": {
- "put": {
- "tags": [
- "Capture"
- ],
- "operationId": "Capture_Put",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/capture/{id}": {
- "get": {
- "tags": [
- "Capture"
- ],
- "operationId": "Capture_Get",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "type": "integer",
- "format": "int64"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- },
- "post": {
- "tags": [
- "Capture"
- ],
- "operationId": "Capture_Post",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "type": "integer",
- "format": "int64"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "Capture"
- ],
- "operationId": "Capture_Delete",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "type": "integer",
- "format": "int64"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/capture/assignment/{id}": {
- "get": {
- "tags": [
- "Capture"
- ],
- "operationId": "Capture_GetAssignment",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "type": "integer",
- "format": "int64"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/capture/assignment/submit/{id}": {
- "post": {
- "tags": [
- "Capture"
- ],
- "operationId": "Capture_SubmitAssignment",
- "consumes": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml",
- "application/x-www-form-urlencoded"
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "type": "integer",
- "format": "int64"
- },
- {
- "name": "captureAssignmentSubmit",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CaptureAssignmentSubmit"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/checklist/{id}": {
- "get": {
- "tags": [
- "Checklist"
- ],
- "operationId": "Checklist_Get",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "required": true,
- "type": "integer",
- "format": "int64"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/SecuredTest": {
- "get": {
- "tags": [
- "SecuredTest"
- ],
- "operationId": "SecuredTest_Get",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecuredTestAddress"
- }
- }
- }
- }
- }
- },
- "/api/Test": {
- "get": {
- "tags": [
- "Test"
- ],
- "operationId": "Test_Get",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "/api/user/inspector": {
- "put": {
- "tags": [
- "User"
- ],
- "operationId": "User_PutInspector",
- "consumes": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml",
- "application/x-www-form-urlencoded"
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "inspectorRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/InspectorRequest"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/user/availability": {
- "post": {
- "tags": [
- "User"
- ],
- "operationId": "User_PostAvailability",
- "consumes": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml",
- "application/x-www-form-urlencoded"
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "parameters": [
- {
- "name": "availabilityRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AvailabilityRequest"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/user/skills": {
- "get": {
- "tags": [
- "User"
- ],
- "operationId": "User_GetSkills",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- },
- "/api/user/resources": {
- "get": {
- "tags": [
- "User"
- ],
- "operationId": "User_GetResources",
- "consumes": [
- ],
- "produces": [
- "application/json",
- "text/json",
- "application/xml",
- "text/xml"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AutoClaimAssignmentRequest": {
- "required": [
- "autoInformation",
- "policyNumber",
- "insuredName",
- "insuredPhone",
- "zipCode"
- ],
- "type": "object",
- "properties": {
- "autoInformation": {
- "$ref": "#/definitions/AutoInformation"
- },
- "customerName": {
- "maxLength": 50,
- "minLength": 0,
- "type": "string"
- },
- "assignmentTypeId": {
- "maxLength": 150,
- "minLength": 0,
- "type": "string"
- },
- "policyNumber": {
- "maxLength": 50,
- "minLength": 0,
- "type": "string"
- },
- "insuredName": {
- "maxLength": 100,
- "minLength": 0,
- "type": "string"
- },
- "insuredPhone": {
- "maxLength": 20,
- "minLength": 0,
- "type": "string"
- },
- "customerNotes": {
- "maxLength": 1000,
- "minLength": 0,
- "type": "string"
- },
- "address": {
- "maxLength": 100,
- "minLength": 0,
- "type": "string"
- },
- "city": {
- "maxLength": 50,
- "minLength": 0,
- "type": "string"
- },
- "state": {
- "maxLength": 2,
- "minLength": 0,
- "type": "string"
- },
- "zipCode": {
- "maxLength": 5,
- "minLength": 0,
- "pattern": "^[0-9]*$",
- "type": "string"
- }
- }
- },
- "AutoInformation": {
- "required": [
- "year",
- "make",
- "model"
- ],
- "type": "object",
- "properties": {
- "year": {
- "type": "string"
- },
- "make": {
- "type": "string"
- },
- "model": {
- "type": "string"
- },
- "color": {
- "type": "string"
- },
- "vin": {
- "type": "string"
- }
- }
- },
- "CaptureAssignmentSubmit": {
- "type": "object",
- "properties": {
- "comments": {
- "maxLength": 500,
- "minLength": 0,
- "type": "string"
- }
- }
- },
- "SecuredTestAddress": {
- "type": "object",
- "properties": {
- "street1": {
- "type": "string"
- },
- "street2": {
- "type": "string"
- },
- "city": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "zip": {
- "type": "string"
- },
- "country": {
- "type": "string"
- }
- }
- },
- "InspectorRequest": {
- "required": [
- "address",
- "city",
- "state",
- "zipCode",
- "userName",
- "password",
- "firstName",
- "lastName",
- "email",
- "phoneNumber"
- ],
- "type": "object",
- "properties": {
- "address": {
- "maxLength": 100,
- "minLength": 0,
- "type": "string"
- },
- "addressLine2": {
- "maxLength": 100,
- "minLength": 0,
- "type": "string"
- },
- "city": {
- "maxLength": 50,
- "minLength": 0,
- "type": "string"
- },
- "state": {
- "maxLength": 2,
- "minLength": 0,
- "type": "string"
- },
- "zipCode": {
- "maxLength": 5,
- "minLength": 0,
- "pattern": "^[0-9]*$",
- "type": "string"
- },
- "region": {
- "maxLength": 50,
- "minLength": 0,
- "type": "string"
- },
- "skillIds": {
- "type": "array",
- "items": {
- "format": "int32",
- "type": "integer"
- }
- },
- "userName": {
- "maxLength": 100,
- "minLength": 0,
- "type": "string"
- },
- "password": {
- "maxLength": 50,
- "minLength": 0,
- "pattern": "^(?:(?=.*[a-z])(?:(?=.*[A-Z])(?=.*[\\d\\W])|(?=.*\\W)(?=.*\\d))|(?=.*\\W)(?=.*[A-Z])(?=.*\\d)).{8,}$",
- "type": "string"
- },
- "firstName": {
- "maxLength": 50,
- "minLength": 0,
- "type": "string"
- },
- "lastName": {
- "maxLength": 50,
- "minLength": 0,
- "type": "string"
- },
- "email": {
- "maxLength": 100,
- "minLength": 0,
- "pattern": "^[\\w!#$%&'*+\\-/=?\\^_`{|}~]+(\\.[\\w!#$%&'*+\\-/=?\\^_`{|}~]+)*@((([\\-\\w]+\\.)+[a-zA-Z]{2,4})|(([0-9]{1,3}\\.){3}[0-9]{1,3}))$",
- "type": "string"
- },
- "phoneNumber": {
- "maxLength": 20,
- "minLength": 0,
- "type": "string"
- }
- }
- },
- "AvailabilityRequest": {
- "required": [
- "name",
- "value"
- ],
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 20,
- "minLength": 0,
- "type": "string"
- },
- "value": {
- "maxLength": 100,
- "minLength": 0,
- "type": "string"
- }
- }
- }
- },
- "securityDefinitions": {
- "bearerAuth": { "type": "http", "scheme": "bearer" },
- "oauth2": {
- "type": "oauth2",
- "description": "OAuth2 Implicit Grant",
- "flow": "clientCredentials",
- "tokenUrl": "https://navigatormobileservicesuat.cisgroup.net/token",
- "scopes": {
- "read": "Read access to protected resources",
- "write": "Write access to protected resources"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement