diff --git a/data/gst.json b/data/gst.json index fa44bb4..9b9c673 100644 --- a/data/gst.json +++ b/data/gst.json @@ -67,138 +67,7 @@ "responses": { "200": { "description": "OK", - "headers": { - "Date": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "Thu, 29 Sep 2022 13:29:59 GMT" - } - } - }, - "Content-Length": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "1117" - } - } - }, - "Connection": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "keep-alive" - } - } - }, - "Server": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "openresty" - } - } - }, - "Permissions-Policy": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "interest-cohort=()" - } - } - }, - "X-Frame-Options": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "DENY" - } - } - }, - "X-XSS-Protection": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "1; mode=block" - } - } - }, - "X-Content-Type-Options": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "nosniff" - } - } - }, - "Content-Security-Policy": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "default-src 'self'; img-src 'self' data-gateway-resources.s3.ap-south-1.amazonaws.com; script-src 'self' data-gateway-resources.s3.ap-south-1.amazonaws.com 'unsafe-inline'; style-src 'self' data-gateway-resources.s3.ap-south-1.amazonaws.com fonts.googleapis.com 'unsafe-inline'; font-src fonts.gstatic.com" - } - } - }, - "Referrer-Policy": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "strict-origin-when-cross-origin" - } - } - }, - "Strict-Transport-Security": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "max-age=31556926; includeSubDomains" - } - } - }, - "Cache-Control": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "no-cache" - } - } - }, - "Pragma": { - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "no-cache" - } - } - } - }, + "headers": {}, "content": { "application/json": { "schema": { @@ -207,106 +76,91 @@ "$ref": "#/components/schemas/ValidGST" }, { - "example": { + "example": { "data": { "address": { "additional": null, "principle": { - "buildingName": "EMBASSY ICON ANNEXE", - "buildingNumber": "NO. 2/1", + "buildingName": "MESH COMPLEX", + "buildingNumber": "WAREHOUSE H", "city": "", - "district": "Bengaluru Urban", - "floorNo": "THIRD FLOOR", + "district": "Thane", + "floorNo": "SURVEY NO. 35/4, 36/2", "latitude": "", - "location": "BANGALORE", + "location": "BHIWANDI", "longitude": "", - "naturePlaceOfBusiness": "Office / Sale Office", - "pinCode": "560001", - "stateCode": "Karnataka", - "street": "INFANTRY ROAD" + "naturePlaceOfBusiness": "", + "pinCode": "421302", + "stateCode": "Maharashtra", + "street": "SARAVALI" } }, "company": { "constitutionOfBusiness": "Private Limited Company", - "name": "BROKENTUSK TECHNOLOGIES PRIVATE LIMITED", - "natureOfBusinessActivity": "[\"Office / Sale Office\"]", - "state": "LGSTO 020 - Bengaluru", + "name": "XYZ SELLER SERVICES PRIVATE LIMITED", + "natureOfBusinessActivity": "", + "state": "State - Maharashtra,Zone - Thane,Division - THANE CITY,Charge - BHIWANDI_701", "status": "Active", - "taxPayerType": "Regular", - "tradeName": "BROKENTUSK TECHNOLOGIES PRIVATE LIMITED", + "taxPayerType": "Tax Collector (Electronic Commerce Operator)", + "tradeName": "XYZ SELLER SERVICES PRIVATE LIMITED", "type": "Private Limited Company" }, "gst": { "dateOfCancellation": "", - "id": "29AAICB0122B1ZC", - "lastUpdatedDate": "12/03/2019", - "registrationDate": "17/12/2018" + "id": "27AAICB3918J1CT", + "lastUpdatedDate": "", + "registrationDate": "12/10/2018" }, "jurisdiction": { - "centre": "RANGE-BND1", - "centreCode": "YW0102", - "state": "LGSTO 020 - Bengaluru", - "stateCode": "KA005" + "centre": "Commissionerate - BHIWANDI,Division - DIVISION IV,Range - RANGE-I (Jurisdictional Office)", + "centreCode": "VQ0401", + "state": "State - Maharashtra,Zone - Thane,Division - THANE CITY,Charge - BHIWANDI_701", + "stateCode": "MHCG1425" } }, "message": "", - "requestId": "082a2832-a1f2-4644-ab1f-418d827f1310", + "requestId": "e347e79b-dddc-49c1-b266-afb2c44843e8", + "verification": "success", + "traceId": "1-633f22e0-6eb8245d7043f93e1bf83604" + }, + "example": { + "data": {}, + "message": "Invalid GSTIN / UID", + "requestId": "f8baadba-5f92-481c-9ce4-f5ba45af030b", "verification": "success", - "traceId": "1-63359dd7-1c3b0c61419897c60e39317e" + "traceId": "1-633c15e8-24825b38477426d4165bb6c2" } } ] - }, - "example": { - "data": { - "address": { - "additional": null, - "principle": { - "buildingName": "EMBASSY ICON ANNEXE", - "buildingNumber": "NO. 2/1", - "city": "", - "district": "Bengaluru Urban", - "floorNo": "THIRD FLOOR", - "latitude": "", - "location": "BANGALORE", - "longitude": "", - "naturePlaceOfBusiness": "Office / Sale Office", - "pinCode": "560001", - "stateCode": "Karnataka", - "street": "INFANTRY ROAD" - } - }, - "company": { - "constitutionOfBusiness": "Private Limited Company", - "name": "BROKENTUSK TECHNOLOGIES PRIVATE LIMITED", - "natureOfBusinessActivity": "[\"Office / Sale Office\"]", - "state": "LGSTO 020 - Bengaluru", - "status": "Active", - "taxPayerType": "Regular", - "tradeName": "BROKENTUSK TECHNOLOGIES PRIVATE LIMITED", - "type": "Private Limited Company" - }, - "gst": { - "dateOfCancellation": "", - "id": "29AAICB0122B1ZC", - "lastUpdatedDate": "12/03/2019", - "registrationDate": "17/12/2018" + } + } + } + }, + "200": { + "description": "OK", + "headers": {}, + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/InValidGST" }, - "jurisdiction": { - "centre": "RANGE-BND1", - "centreCode": "YW0102", - "state": "LGSTO 020 - Bengaluru", - "stateCode": "KA005" + { + "example": { + "data": {}, + "message": "Invalid GSTIN / UID", + "requestId": "f8baadba-5f92-481c-9ce4-f5ba45af030b", + "verification": "success", + "traceId": "1-633c15e8-24825b38477426d4165bb6c2" + } } - }, - "message": "", - "requestId": "082a2832-a1f2-4644-ab1f-418d827f1310", - "verification": "success", - "traceId": "1-63359dd7-1c3b0c61419897c60e39317e" + ] } } } } + }, "deprecated": false, "security": [] @@ -3706,5 +3560,5 @@ { "bearer": [] } - ], + ] }