{"x-generator":"NSwag v14.4.0.0 (NJsonSchema v11.3.2.0 (Newtonsoft.Json v13.0.0.0))","openapi":"3.0.0","info":{"title":"GB5 Maintenance Service","description":"GB5 Maintenance Microservice","version":"v1"},"servers":[{"url":"/ms"}],"paths":{"/KeyComponent/DeleteKeyComponent":{"delete":{"tags":["Keycomponent"],"operationId":"MaintenanceSLFastEndPointsKeyComponentDeleteKeyComponent","parameters":[{"name":"KeyComponentId","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject"}}}}}}},"/KeyComponent/GetKeyComponent":{"get":{"tags":["Keycomponent"],"operationId":"MaintenanceSLFastEndPointsKeyComponentGetKeyComponent","parameters":[{"name":"KeyComponentId","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}}}},"/KeyComponent/GetSelectListKeyComponent":{"post":{"tags":["Keycomponent"],"operationId":"MaintenanceSLFastEndPointsKeyComponentGetSelectListKeyComponent","parameters":[{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"CriteriaDTO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject"}}}}}}},"/KeyComponent/SaveKeyComponent":{"post":{"tags":["Keycomponent"],"operationId":"MaintenanceSLFastEndPointsKeyComponentSaveKeyComponent","parameters":[{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"KeyComponentDTO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceDALDTOKeyComponentKeyComponentDTO"}}},"required":true},"responses":{"204":{"description":"No Content"}}}},"/Claim/GetClaim":{"get":{"tags":["Claim"],"operationId":"MaintenanceSLFastEndPointsClaimGetClaim","parameters":[{"name":"ClaimId","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject"}}}}}}},"/Claim/GetSelectListClaim":{"post":{"tags":["Claim"],"operationId":"MaintenanceSLFastEndPointsClaimGetSelectListClaim","parameters":[{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"CriteriaDTO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject"}}}}}}},"/Activity/GetActivity":{"get":{"tags":["Activity"],"operationId":"MaintenanceSLFastEndPointsActivityGetActivity","parameters":[{"name":"ActivityId","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"}}}},"/Activity/GetSelectListActivity":{"post":{"tags":["Activity"],"operationId":"MaintenanceSLFastEndPointsActivityGetSelectListActivity","parameters":[{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"CriteriaDTO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject"}}}}}}},"/ActivityType/GetSelectListActivityType":{"post":{"tags":["Activitytype"],"operationId":"MaintenanceSLFastEndPointsActivityTypeGetSelectListActivityType","parameters":[{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"CriteriaDTO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject"}}}}}}},"/":{"get":{"operationId":"Get","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/WeatherForecast":{"get":{"tags":["WeatherForecast"],"operationId":"WeatherForecast_Get","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MaintenanceSLWeatherForecast"}}}}}}}}},"components":{"schemas":{"GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject":{"type":"object","additionalProperties":false,"properties":{"Id":{"type":"string"},"To":{"type":"string"},"From":{"type":"string"},"Status":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkEnumFrameworkEnumDTO_ResponseStatus"},"ReplyTo":{"type":"string"},"ETag":{"type":"string"},"Body":{"nullable":true},"Total":{"type":"integer","format":"int32"},"First":{"type":"string"},"Last":{"type":"string"},"Current":{"type":"string"},"Previous":{"type":"string"},"Next":{"type":"string"},"ResponseObject":{},"ErrorBody":{"type":"string"},"ErrorInnerException":{"type":"string"},"ValidToTime":{"type":"string"},"ValidityOfSession":{"type":"string"},"LastLoginUsedTime":{"type":"string"},"CacheLevel":{"type":"integer","format":"int32"},"CacheKey":{"type":"string"},"CacheStatus":{"type":"integer","format":"int32"}}},"GB5SharedDTOFrameworkEnumFrameworkEnumDTO_ResponseStatus":{"type":"integer","description":"","x-enumNames":["Ok","Created","Accepted","NoContent","Found","NotModified","Failed","Unauthorized","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","ValidationFailed","RequestedEntityTooLarge","ServiceUnavailable","NullValue","LoginExpired","LoginDataMismatched","SqlSysntextError","PropertyNotFoundException","QueryException","GenericAdoException","SqlException","StaleObjectStateException","TargetInvocationException","WebException","PrimaryKeyVoilation","UNIQUEKEYVoilation","NewSucessStatus","NewFailedStatus"],"enum":[200,201,202,204,302,304,400,401,403,404,405,406,407,408,412,413,503,600,700,800,900,902,903,904,905,906,907,908,1001,1002,2000,4000]},"MaintenanceSLFastEndPointsKeyComponentDeleteKeyComponent_DeleteKeyComponentParameters":{"type":"object","additionalProperties":false},"MaintenanceSLFastEndPointsKeyComponentGetKeyComponent_GetKeyComponentParameters":{"type":"object","additionalProperties":false},"MaintenanceSLFastEndPointsKeyComponentGetSelectListKeyComponent_GetSelectListKeyComponentParameters":{"type":"object","additionalProperties":false,"properties":{"CriteriaDTO":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"GB5SharedDTOFrameworkCriteriaCriteriaDTO":{"type":"object","additionalProperties":false,"properties":{"Id":{"type":"integer","format":"int32"},"SectionCriteriaList":{"type":"array","items":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaSectionCriteriaDTO"}},"SearchKeyword":{"type":"string"}}},"GB5SharedDTOFrameworkCriteriaSectionCriteriaDTO":{"type":"object","additionalProperties":false,"properties":{"SectionId":{"type":"integer","format":"int32"},"AttributesCriteriaList":{"type":"array","items":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaAttributesCriteriaDTO"}},"OperationType":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO_SectionOperationType"}}},"GB5SharedDTOFrameworkCriteriaAttributesCriteriaDTO":{"type":"object","additionalProperties":false,"properties":{"FieldName":{"type":"string"},"OperationType":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO_OperationType"},"FieldValue":{},"InArray":{"type":"array","items":{}},"JoinType":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO_AttributeJoinOperationType"},"CriteriaAttributeName":{"type":"string"},"CriteriaAttributeValue":{"type":"string"},"IsCompulsory":{"type":"integer","format":"byte"},"IsHeader":{"type":"integer","format":"byte"},"CriteriaAttributeType":{"type":"integer","format":"byte"},"CriteriaAttributeId":{"type":"integer","format":"int32"},"FilterType":{"type":"integer","format":"int32"},"CriteriaFieldDisplayValue":{"type":"string"}}},"GB5SharedDTOFrameworkCriteriaCriteriaDTO_OperationType":{"type":"integer","description":"","x-enumNames":["None","Equal","Like","Or","And","In","NotIn","NotEqual","GreaterThan","LessThan","GreaterThanOrEqualTo","LessThanOrEqualTo","Between","StartWith","EndsWith"],"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]},"GB5SharedDTOFrameworkCriteriaCriteriaDTO_AttributeJoinOperationType":{"type":"integer","description":"","x-enumNames":["None","Or","And"],"enum":[0,1,2]},"GB5SharedDTOFrameworkCriteriaCriteriaDTO_SectionOperationType":{"type":"integer","description":"","x-enumNames":["None","Or","And"],"enum":[0,1,2]},"MaintenanceSLFastEndPointsKeyComponentSaveKeyComponent_SaveKeyComponentParameters":{"type":"object","additionalProperties":false,"properties":{"KeyComponentDTO":{"$ref":"#/components/schemas/MaintenanceDALDTOKeyComponentKeyComponentDTO"}}},"MaintenanceDALDTOKeyComponentKeyComponentDTO":{"type":"object","additionalProperties":false,"properties":{"KeyComponentId":{"type":"integer","format":"int32"},"KeyComponentNature":{"type":"integer","format":"byte"},"AssetId":{"type":"integer","format":"int32"},"AssetCode":{"type":"string"},"AssetName":{"type":"string"},"ItemId":{"type":"integer","format":"int32"},"ItemCode":{"type":"string"},"ItemName":{"type":"string"},"ResourceId":{"type":"integer","format":"int32"},"ResourceCode":{"type":"string"},"ResourceName":{"type":"string"},"MachineId":{"type":"integer","format":"int32"},"MachineCode":{"type":"string"},"MachineName":{"type":"string"},"LotId":{"type":"integer","format":"int32"},"LotLotNumber":{"type":"string"},"KeyComponentRemarks":{"type":"string"},"KeyComponentSourceType":{"type":"integer","format":"byte"},"KeyComponentSortOrder":{"type":"integer"},"KeyComponentStatus":{"type":"integer","format":"byte"},"KeyComponentVersion":{"type":"integer"},"KeyComponentCreatedById":{"type":"integer","format":"int32"},"KeyComponentCreatedOn":{"type":"string","format":"date-time"},"KeyComponentModifiedById":{"type":"integer","format":"int32"},"KeyComponentModifiedOn":{"type":"string","format":"date-time"},"KeyComponentTenantId":{"type":"integer","format":"int32"},"KeyComponentDetailArray":{"type":"array","items":{"$ref":"#/components/schemas/MaintenanceDALDTOKeyComponentKeyComponentDetailDTO"}}}},"MaintenanceDALDTOKeyComponentKeyComponentDetailDTO":{"type":"object","additionalProperties":false,"properties":{"KeyComponentDetailId":{"type":"integer","format":"int32"},"KeyComponentId":{"type":"integer","format":"int32"},"KeyComponentDetailSlNo":{"type":"integer"},"KeyComponentDetailNature":{"type":"integer","format":"byte"},"AssetId":{"type":"integer","format":"int32"},"AssetCode":{"type":"string"},"AssetName":{"type":"string"},"ItemId":{"type":"integer","format":"int32"},"ItemCode":{"type":"string"},"ItemName":{"type":"string"},"KeyComponentDetailDetailSlNo":{"type":"integer","format":"byte"},"KeyComponentDetailQuantity":{"type":"number","format":"double"},"KeyComponentDetailReplacedOn":{"type":"string","format":"date-time"},"LotId":{"type":"integer","format":"int32"},"LotLotNumber":{"type":"string"},"KeyComponentDetailRemarks":{"type":"string"},"ResourceId":{"type":"integer","format":"int32"},"ResourceCode":{"type":"string"},"ResourceName":{"type":"string"},"MachineId":{"type":"integer","format":"int32"},"MachineCode":{"type":"string"},"MachineName":{"type":"string"}}},"MaintenanceSLFastEndPointsClaimGetClaim_GetClaimParameters":{"type":"object","additionalProperties":false},"MaintenanceSLFastEndPointsClaimGetSelectListClaim_GetSelectListClaimParameters":{"type":"object","additionalProperties":false,"properties":{"CriteriaDTO":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"MaintenanceSLFastEndPointsActivityGetActivity_GetActivityParameters":{"type":"object","additionalProperties":false},"MaintenanceSLFastEndPointsActivityGetSelectListActivity_GetSelectListActivityParameters":{"type":"object","additionalProperties":false,"properties":{"CriteriaDTO":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}]}}},"MaintenanceSLFastEndPointsActivityTypeGetSelectListActivityType_GetSelectListActivityTypeParameters":{"type":"object","additionalProperties":false,"properties":{"CriteriaDTO":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"MaintenanceSLWeatherForecast":{"type":"object","additionalProperties":false,"properties":{"Date":{"type":"string","format":"date"},"TemperatureC":{"type":"integer","format":"int32"},"TemperatureF":{"type":"integer","format":"int32"},"Summary":{"type":"string","nullable":true}}}},"securitySchemes":{"JWTBearerAuth":{"type":"http","description":"Enter a JWT token to authorize the requests...","scheme":"Bearer","bearerFormat":"JWT"}}}}