{"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 FM Service","description":"GB5 Financial Management Microservice","version":"v1"},"servers":[{"url":"/fm"}],"paths":{"/PartyBranchLocation/DeletePartyBranchLocation":{"delete":{"tags":["Partybranchlocation"],"operationId":"FMSLEndPointsPartyBranchLocationDeletePartyBranchLocation","parameters":[{"name":"PartyBranchLocationId","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"}}}}}}},"/PartyBranchLocation/GetPartyBranchLocation":{"get":{"tags":["Partybranchlocation"],"operationId":"FMSLEndPointsPartyBranchLocationGetPartyBranchLocation","parameters":[{"name":"PartyBranchLocationId","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"}}}}}}},"/PartyBranchLocation/GetSelectListPartyBranchLocation":{"post":{"tags":["Partybranchlocation"],"operationId":"FMSLEndPointsPartyBranchLocationGetSelectListPartyBranchLocation","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"}}}}}}},"/PartyBranchLocation/SavePartyBranchLocation":{"post":{"tags":["Partybranchlocation"],"operationId":"FMSLEndPointsPartyBranchLocationSavePartyBranchLocation","parameters":[{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"PartyBranchLocationDTO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FMDALDTOPartyBranchLocationPartyBranchLocationDTO"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkResponseStandardResponseStandardDTOOfObject"}}}}}}},"/Meter/GetSelectListMeter":{"post":{"tags":["Meter"],"operationId":"FMSLEndPointsMeterGetSelectListMeter","parameters":[{"name":"FirstNumber","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"MaxResult","in":"query","required":true,"schema":{"type":"integer","format":"int32"}},{"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"}}}}}}},"/Asset/GetAsset":{"get":{"tags":["Asset"],"operationId":"FMSLEndPointsAssetGetAsset","parameters":[{"name":"AssetId","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"}}}}}}},"/Asset/GetSelectListAsset":{"post":{"tags":["Asset"],"operationId":"FMSLEndPointsAssetGetSelectListAsset","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"}}}}}}},"/AssetType/DeleteAssetType":{"delete":{"tags":["Assettype"],"operationId":"FMSLEndPointsAssetTypeDeleteAssetType","parameters":[{"name":"AssetTypeId","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"}}}}}}},"/AssetType/GetAssetType":{"get":{"tags":["Assettype"],"operationId":"FMSLEndPointsAssetTypeGetAssetType","parameters":[{"name":"AssetTypeId","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"}}}}}}},"/AssetType/GetSelectListAssetType":{"post":{"tags":["Assettype"],"operationId":"FMSLEndPointsAssetTypeGetSelectListAssetType","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"}}}}}}},"/AssetType/SaveAssetType":{"post":{"tags":["Assettype"],"operationId":"FMSLEndPointsAssetTypeSaveAssetType","parameters":[{"name":"Login","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"x-name":"AssetTypeDTO","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FMDALDTOAssetTypeAssetTypeDTO"}}},"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/FMSLWeatherForecast"}}}}}}}}},"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]},"FMSLEndPointsPartyBranchLocationDeletePartyBranchLocation_DeletePartyBranchLocationParameters":{"type":"object","additionalProperties":false},"FMSLEndPointsPartyBranchLocationGetPartyBranchLocation_GetPartyBranchLocationParameters":{"type":"object","additionalProperties":false},"FMSLEndPointsPartyBranchLocationGetSelectListPartyBranchLocation_GetSelectListPartyBranchLocationParameters":{"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]},"FMSLEndPointsPartyBranchLocationSavePartyBranchLocation_SavePartyBranchLocationParameters":{"type":"object","additionalProperties":false,"properties":{"PartyBranchLocationDTO":{"$ref":"#/components/schemas/FMDALDTOPartyBranchLocationPartyBranchLocationDTO"}}},"FMDALDTOPartyBranchLocationPartyBranchLocationDTO":{"type":"object","additionalProperties":false,"properties":{"PartyBranchLocationId":{"type":"integer","format":"int32"},"PartyBranchLocationCode":{"type":"string"},"PartyBranchLocationName":{"type":"string"},"PartyBranchId":{"type":"integer","format":"int32"},"PartyBranchCode":{"type":"string"},"PartyBranchName":{"type":"string"},"PartyBranchShortName":{"type":"string"},"ParentLocationId":{"type":"integer","format":"int32"},"ParentLocationCode":{"type":"string"},"ParentLocationName":{"type":"string"},"PartyBranchLocationInchargeId":{"type":"integer","format":"int32"},"PartyBranchLocationNature":{"type":"string"},"PartyBranchLocationLevels":{"type":"integer","format":"byte"},"PartyBranchLocationParentIds":{"type":"string"},"PartyBranchLocationCreatedById":{"type":"integer","format":"int32"},"PartyBranchLocationCreatedOn":{"type":"string","format":"date-time"},"PartyBranchLocationModifiedById":{"type":"integer","format":"int32"},"PartyBranchLocationModifiedOn":{"type":"string","format":"date-time"},"PartyBranchLocationSortOrder":{"type":"integer"},"PartyBranchLocationStatus":{"type":"integer","format":"byte"},"PartyBranchLocationVersion":{"type":"integer"}}},"FMSLEndPointsMeterGetSelectListMeter_GetSelectListMeterParameters":{"type":"object","additionalProperties":false,"properties":{"CriteriaDTO":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"FMSLEndPointsAssetGetAsset_GetAssetParameters":{"type":"object","additionalProperties":false},"FMSLEndPointsAssetGetSelectListAsset_GetSelectListAssetParameters":{"type":"object","additionalProperties":false,"properties":{"CriteriaDTO":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"FMSLEndPointsAssetTypeDeleteAssetType_DeleteAssetTypeParameters":{"type":"object","additionalProperties":false},"FMSLEndPointsAssetTypeGetAssetType_GetAssetTypeParameters":{"type":"object","additionalProperties":false},"FMSLEndPointsAssetTypeGetSelectListAssetType_GetSelectListAssetTypeParameters":{"type":"object","additionalProperties":false,"properties":{"CriteriaDTO":{"$ref":"#/components/schemas/GB5SharedDTOFrameworkCriteriaCriteriaDTO"}}},"FMSLEndPointsAssetTypeSaveAssetType_SaveAssetTypeParameters":{"type":"object","additionalProperties":false,"properties":{"AssetTypeDTO":{"$ref":"#/components/schemas/FMDALDTOAssetTypeAssetTypeDTO"}}},"FMDALDTOAssetTypeAssetTypeDTO":{"type":"object","additionalProperties":false,"properties":{"AssetTypeId":{"type":"integer","format":"int32"},"AssetTypeCode":{"type":"string"},"AssetTypeName":{"type":"string"},"AssetTypeTrackingTypeName":{"type":"string"},"AssetTypeNatureName":{"type":"string"},"AssetTypeIsMeterName":{"type":"string"},"AssetTypeIsGeneratorName":{"type":"string"},"AssetTypeTrackingType":{"type":"integer","format":"byte"},"ParameterSetId":{"type":"integer","format":"int32"},"ParameterSetCode":{"type":"string"},"ParameterSetName":{"type":"string"},"AssetTypeNature":{"type":"integer","format":"byte"},"ResourceTypeId":{"type":"integer","format":"int32"},"ResourceTypeCode":{"type":"string"},"ResourceTypeName":{"type":"string"},"AssetTypeMMTrackingRequired":{"type":"integer","format":"byte"},"AssetTypeIsMeter":{"type":"integer","format":"byte"},"AssetTypeIsGenerator":{"type":"integer","format":"byte"},"AssetTypeAccountingType":{"type":"integer","format":"byte"},"AssetWipAccountId":{"type":"integer","format":"int32"},"AssetWipAccountCode":{"type":"string"},"AssetWipAccountName":{"type":"string"},"AssetAccountId":{"type":"integer","format":"int32"},"AssetAccountCode":{"type":"string"},"AssetAccountName":{"type":"string"},"DepreciationAccountId":{"type":"integer","format":"int32"},"DepreciationAccountCode":{"type":"string"},"DepreciationAccountName":{"type":"string"},"AssetTypeIsDepreciationApplicable":{"type":"integer","format":"byte"},"DepreciationId":{"type":"integer","format":"int32"},"DepreciationCode":{"type":"string"},"DepreciationName":{"type":"string"},"AssetTypeDepreciationPercentage":{"type":"number","format":"double"},"AssetTypeLife":{"type":"number","format":"double"},"AssetTypeIsTaxDepreciationApplicable":{"type":"integer","format":"byte"},"TaxDepreciationId":{"type":"integer","format":"int32"},"TaxDepreciationCode":{"type":"string"},"TaxDepreciationName":{"type":"string"},"AssetTypeTaxDepreciationPercentage":{"type":"number","format":"double"},"AssetTypeTaxLife":{"type":"number","format":"double"},"AssetTypeIsAMC":{"type":"integer","format":"byte"},"AssetTypeIsInsurance":{"type":"integer","format":"byte"},"AssetTypeIsInstallation":{"type":"integer","format":"byte"},"AssetTypeIsLocation":{"type":"integer","format":"byte"},"AssetTypeIsWarranty":{"type":"integer","format":"byte"},"AssetTypeIsMaintenance":{"type":"integer","format":"byte"},"AssetTypeIsLicense":{"type":"integer","format":"byte"},"AssetTypeIsBarcode":{"type":"integer","format":"byte"},"AssetTypeIsRegistration":{"type":"integer","format":"byte"},"AssetTypeIsLease":{"type":"integer","format":"byte"},"AssetTypeIsCenvat":{"type":"integer","format":"byte"},"AssetTypeIsResponsible":{"type":"integer","format":"byte"},"AssetTypeIsManufacturer":{"type":"integer","format":"byte"},"CodeDefineId":{"type":"integer","format":"int32"},"CodeDefineCategoryCode":{"type":"string"},"CodeDefineCategoryName":{"type":"string"},"AssetTypeCreatedById":{"type":"integer","format":"int32"},"AssetTypeCreatedOn":{"type":"string","format":"date-time"},"AssetTypeCreatedByName":{"type":"string"},"AssetTypeModifiedById":{"type":"integer","format":"int32"},"AssetTypeModifiedOn":{"type":"string","format":"date-time"},"AssetTypeModifiedByName":{"type":"string"},"AssetTypeSortOrder":{"type":"integer"},"AssetTypeStatus":{"type":"integer","format":"byte"},"AssetTypeVersion":{"type":"integer"},"AssetTypeActivityArray":{"type":"array","items":{"$ref":"#/components/schemas/FMDALDTOAssetTypeActivityAssetTypeActivityDTO"}},"AssetScheduleId":{"type":"integer","format":"int32"},"AssetScheduleCode":{"type":"string"},"AssetScheduleName":{"type":"string"},"AccumulatedDepreciationAccountId":{"type":"integer","format":"int32"},"AccumulatedDepreciationAccountCode":{"type":"string"},"AccumulatedDepreciationAccountName":{"type":"string"},"DepLife":{"type":"number","format":"decimal"},"SLAId":{"type":"integer","format":"int32"},"SourceType":{"type":"integer","format":"int32"},"TenantId":{"type":"integer","format":"int32"}}},"FMDALDTOAssetTypeActivityAssetTypeActivityDTO":{"type":"object","additionalProperties":false,"properties":{"AssetTypeActivityId":{"type":"integer","format":"int32"},"AssetTypeId":{"type":"integer","format":"int32"},"AssetTypeCode":{"type":"string"},"AssetTypeName":{"type":"string"},"AssetTypeActivitySlno":{"type":"integer"},"ActivityId":{"type":"integer","format":"int32"},"ActivityCode":{"type":"string"},"ActivityName":{"type":"string"},"AssetTypeActivityFrequency":{"type":"integer","format":"byte"},"AssetTypeActivityPeriod":{"type":"integer","format":"byte"},"AssetTypeActivityDuration":{"type":"integer"}}},"FMSLWeatherForecast":{"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"}}}}