{"openapi":"3.0.3","info":{"title":"AnomalieAdresseAPI","version":"1.0.0","contact":{}},"servers":[{"url":"https://fibercenter-ws-pp.lumiere.fr"}],"paths":{"/REST-FC/anomalie-adresse/auth":{"post":{"tags":["Authentification"],"summary":"auth","description":"auth","operationId":"auth","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string","example":"1234"},"username":{"type":"string","example":"CA_OCEN"}}},"examples":{"auth":{"value":{"password":"1234","username":"CA_OCEN"}}}}}},"responses":{"200":{"description":""}},"security":[{}]}},"/REST-FC/anomalie-adresse/v1/anomalie-adresse":{"get":{"tags":["Anomalie Adresse"],"summary":"getAnoamlieAdresses","description":"getAnoamlieAdresses","operationId":"getanoamlieadresses","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]},"post":{"tags":["Anomalie Adresse"],"summary":"createAnoamlieAdresse","description":"createAnoamlieAdresse","operationId":"createanoamlieadresse","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"@baseType":{"type":"string","example":"AnomalieAdresse"},"@schemaLocation":{"type":"string","example":"https://raw.githubusercontent.com/tmforum-apis/Open_Api_And_Data_Model/master/schemas/Common/TroubleTicket.schema.json"},"_atType":{"type":"string","example":"AnomalieAdresse.creation"},"atBaseType":{"type":"string","example":"TroubleTicket"},"atSchemaLocation":{"type":"string","example":"https://raw.githubusercontent.com/tmforum-apis/Open_Api_And_Data_Model/master/schemas/Common/TroubleTicket.schema.json"},"atType":{"type":"string","example":"TroubleTicket"},"building":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","example":"EPONE"},"postcode":{"type":"string","example":"78680"},"streetName":{"type":"string","example":"FAUBOURG DE LA BICHETTERIE  - France"},"streetNr":{"type":"string","example":"5008"},"streetNrSuffix":{"type":"string","example":"enseigne MAGICFORME"},"streetType":{"type":"string","example":"AVENUE"}}},"newConstruction":{"type":"boolean","example":false},"pbos":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"VOFI-GENI01-PB-066"}}},"example":[{"id":"VOFI-GENI01-PB-066"}]},"pm":{"type":"object","properties":{"id":{"type":"string","example":"VOFI-GENI01"}}}}},"code_oi":{"type":"string","example":"VDLF"},"creationDate":{"type":"string","example":"2023-01-20T12:23:00+01:00"},"description":{"type":"string","example":"ECHEC = CA465492\tPLP. PTO : YF-VFXM-502U dans FC, adresse est bonne sur place  335 BIS RUE DE NONCIENNE 78830 BULLION  , Client est en immeuble, BE-1.1,  immeuble de 16 boites aux lettres"},"lastUpdateDate":{"type":"string","example":"2024-11-26T09:33:00+01:00"},"name":{"type":"string","example":"CA465492 - Infrastructure HS (PM/PB)"},"priority":{"type":"string","example":"P2"},"siren":{"type":"string","example":"834420804"},"status":{"type":"string","example":"ACKNOWLEDGED"},"ticketType":{"type":"string","example":"Adresses"}}},"examples":{"createAnoamlieAdresse":{"value":{"@baseType":"AnomalieAdresse","@schemaLocation":"https://raw.githubusercontent.com/tmforum-apis/Open_Api_And_Data_Model/master/schemas/Common/TroubleTicket.schema.json","_atType":"AnomalieAdresse.creation","atBaseType":"TroubleTicket","atSchemaLocation":"https://raw.githubusercontent.com/tmforum-apis/Open_Api_And_Data_Model/master/schemas/Common/TroubleTicket.schema.json","atType":"TroubleTicket","building":{"address":{"city":"EPONE","postcode":"78680","streetName":"FAUBOURG DE LA BICHETTERIE  - France","streetNr":"5008","streetNrSuffix":"enseigne MAGICFORME","streetType":"AVENUE"},"newConstruction":false,"pbos":[{"id":"VOFI-GENI01-PB-066"}],"pm":{"id":"VOFI-GENI01"}},"code_oi":"VDLF","creationDate":"2023-01-20T12:23:00+01:00","description":"ECHEC = CA465492\tPLP. PTO : YF-VFXM-502U dans FC, adresse est bonne sur place  335 BIS RUE DE NONCIENNE 78830 BULLION  , Client est en immeuble, BE-1.1,  immeuble de 16 boites aux lettres","lastUpdateDate":"2024-11-26T09:33:00+01:00","name":"CA465492 - Infrastructure HS (PM/PB)","priority":"P2","siren":"834420804","status":"ACKNOWLEDGED","ticketType":"Adresses"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/REST-FC/anomalie-adresse/v1/anomalie-adresse/9":{"get":{"tags":["Anomalie Adresse"],"summary":"getAnoamlieAdresseById","description":"getAnoamlieAdresseById","operationId":"getanoamlieadressebyid","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]},"put":{"tags":["Anomalie Adresse"],"summary":"updateAnoamlieAdressePUT","description":"updateAnoamlieAdressePUT","operationId":"updateanoamlieadresseput","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}},{"name":"if-match","in":"header","schema":{"type":"string","example":"db3c795b7d4e3be4fef7681a8e11b3e7"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"_atType":{"type":"string","example":"AnomalieAdresse.creation"},"atBaseType":{"type":"string","example":"TroubleTicket"},"atType":{"type":"string","example":"TroubleTicket"},"status":{"type":"string","example":"CLOSED"},"statusChangeReason":{"type":"string","example":"Resolution validé par l'OC"}}},"examples":{"updateAnoamlieAdressePUT":{"value":{"_atType":"AnomalieAdresse.creation","atBaseType":"TroubleTicket","atType":"TroubleTicket","status":"CLOSED","statusChangeReason":"Resolution validé par l'OC"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]},"patch":{"tags":["Anomalie Adresse"],"summary":"updateAnoamlieAdressePATCH","description":"updateAnoamlieAdressePATCH","operationId":"updateanoamlieadressepatch","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}},{"name":"if-match","in":"header","schema":{"type":"string","example":"db3c795b7d4e3be4fef7681a8e11b3e7"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"_atType":{"type":"string","example":"AnomalieAdresse.creation"},"atBaseType":{"type":"string","example":"TroubleTicket"},"atType":{"type":"string","example":"TroubleTicket"},"status":{"type":"string","example":"CLOSED"},"statusChangeReason":{"type":"string","example":"Resolution validé par l'OC"}}},"examples":{"updateAnoamlieAdressePATCH":{"value":{"_atType":"AnomalieAdresse.creation","atBaseType":"TroubleTicket","atType":"TroubleTicket","status":"CLOSED","statusChangeReason":"Resolution validé par l'OC"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/REST-FC/anomalie-adresse/v1/anomalie-adresse/9/note":{"get":{"tags":["Notes"],"summary":"getNotesByIdTicket","description":"getNotesByIdTicket","operationId":"getnotesbyidticket","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/anomalie-adresse/v1/anomalie-adresse/9/note":{"get":{"tags":["Notes"],"summary":"countNotesByIdTicket","description":"countNotesByIdTicket","operationId":"countnotesbyidticket","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]},"post":{"tags":["Notes"],"summary":"createNote","description":"createNote","operationId":"createnote","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"@baseType":{"type":"string","example":"Note"},"@schemaLocation":{"type":"string","example":"https://raw.githubusercontent.com/tmforum-apis/Open_Api_And_Data_Model/master/schemas/Common/Note.schema.json"},"@type":{"type":"string","example":"Note"},"text":{"type":"string","example":"test"}}},"examples":{"createNote":{"value":{"@baseType":"Note","@schemaLocation":"https://raw.githubusercontent.com/tmforum-apis/Open_Api_And_Data_Model/master/schemas/Common/Note.schema.json","@type":"Note","text":"test"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/REST-FC/anomalie-adresse/v1/anomalie-adresse/event":{"get":{"tags":["Events"],"summary":"getEvents","description":"getEvents","operationId":"getevents","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]},"post":{"tags":["Events"],"summary":"createEvent","description":"createEvent","operationId":"createevent","parameters":[{"name":"authroziation","in":"header","schema":{"type":"string","example":"eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlbGthZGlyaSIsImV4cCI6MTc0NTg2NjU4Mn0.ZpXwEq3ViFAAAG4ceDnIY6Tj5u5C4eLVSuHvsrmoP2EPskXHTzQkweaoAsFy39drMqAmfWnWa9CVNjiHkGTK3Q"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"datacontenttype":{"type":"string","example":"application/json"},"id":{"type":"string","example":"9"},"subject":{"type":"string","example":"test envoi"},"type":{"type":"string","example":"DEMANDE INFO"}}},"examples":{"createEvent":{"value":{"datacontenttype":"application/json","id":"9","subject":"test envoi","type":"DEMANDE INFO"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/REST-FC/anomalie-adresse/v1/anomalie-adresse/39/attachment":{"get":{"tags":["Attachments"],"summary":"getAttachmentsByIdTicket","description":"getAttachmentsByIdTicket","operationId":"getattachmentsbyidticket","parameters":[{"name":"id","in":"query","schema":{"type":"string","example":"3"}}],"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]},"post":{"tags":["Attachments"],"summary":"addAttachment","description":"addAttachment","operationId":"addattachment","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"attachment":{"type":"string","example":"{\n  \"name\": \"test.pdf\",\n  \"mimeType\": \"application/pdf\",\n  \"description\": \"Test file\"\n}"},"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}},"/REST-FC/anomalie-adresse/v1/anomalie-adresse/39/attachment/3/content":{"get":{"tags":["Attachments"],"summary":"downloadAttachment","description":"downloadAttachment","operationId":"downloadattachment","responses":{"200":{"description":""}},"security":[{"bearerAuth":[]}]}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"Authentification"},{"name":"Anomalie Adresse"},{"name":"Notes"},{"name":"Events"},{"name":"Attachments"}]}