Skip to content

200 OK "not_available" vs 422 SERVICE_NOT_AVAILABLE for not_supported lines #51

@fernandopradocabrillo

Description

@fernandopradocabrillo

Hi team,
We would like to have your insights on how you are handling cases where the API is called with a line for which the service is not supported.
Each operator will have its own particular unsupported cases but, for example, for a B2B line, do you return 422 SERVICE_NOT_APPLICABLE or a 200 OK with all fields set to ‘not_available’?

We understand that the 422 is for when the service is not supported at all for an msisdn and the "not_available" is only for cases where the service is available but not for certain properties.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions