Sha256: a88d097eede2ccf512742b9468c30052a62eefcf0d591281e4065f9cae273aa3

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

---
- !ruby/struct:VCR::HTTPInteraction
  request: !ruby/struct:VCR::Request
    method: :post
    uri: https://api-qassl.citygrid.com:443/accounts/user/v2/login?password=pppppp&username=GARYTEST
    body: !!null 
    headers: !!null 
  response: !ruby/struct:VCR::Response
    status: !ruby/struct:VCR::ResponseStatus
      code: 200
      message: OK
    headers:
      date:
      - Fri, 30 Dec 2011 01:05:51 GMT
      server:
      - Apache-Coyote/1.1
      content-type:
      - application/json
      vary:
      - Accept-Encoding
      transfer-encoding:
      - chunked
    body: ! '{"code":201,"authToken":"92e47a6fae6c86044c1b697d85d7add8"}'
    http_version: '1.1'
- !ruby/struct:VCR::HTTPInteraction
  request: !ruby/struct:VCR::Request
    method: :post
    uri: https://api-qassl.citygrid.com:443/accounts/account/v2/customer/mutate
    body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"firstName":"nico-api","lastName":"gomez-api","phone":"9001111112","businessName":"businessProveApi","address1":"dir-api","city":"montevideo","state":"Montevideo","zipCode":"90069"}}]}'
    headers:
      accept:
      - application/json
      content-type:
      - Application/JSON
      authtoken:
      - 92e47a6fae6c86044c1b697d85d7add8
  response: !ruby/struct:VCR::Response
    status: !ruby/struct:VCR::ResponseStatus
      code: 200
      message: OK
    headers:
      date:
      - Fri, 30 Dec 2011 01:05:51 GMT
      server:
      - Apache-Coyote/1.1
      content-type:
      - application/json
      vary:
      - Accept-Encoding
      transfer-encoding:
      - chunked
    body: ! '{"totalNumEntries":1,"accountList":[{"id":"","state":"","response":{"message":"UserName
      is required.","code":400},"status":"","firstName":"","lastName":"","address1":"","city":"","businessName":"","phone":"","zipCode":""}]}'
    http_version: '1.1'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
citygrid_api-0.0.6 fixtures/vcr_cassettes/Import_a_cg_account.yml