Blame view

test/cassettes/test_query_fetch.yml 6.96 KB
f65bf747   Joe Weakley   Added and configu...
1
2
3
4
  ---
  http_interactions:
  - request:
      method: get
23108441   Nathan Ockerman   Replace sensitive...
5
      uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logon?CompanyId=<syspro_company>&CompanyPassword=&Operator=<syspro_username>&OperatorPassword=<syspro_password>
f65bf747   Joe Weakley   Added and configu...
6
7
8
9
10
      body:
        encoding: US-ASCII
        string: ''
      headers:
        User-Agent:
193ef3c1   Nathan Ockerman   LM issue 845 - sh...
11
        - Syspro/7 RubyBindings/1.0.0.alpha.2
f65bf747   Joe Weakley   Added and configu...
12
13
14
15
16
17
18
19
20
21
22
        Content-Type:
        - application/x-www-form-urlencoded
        Accept-Encoding:
        - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
        Accept:
        - "*/*"
    response:
      status:
        code: 200
        message: OK
      headers:
f65bf747   Joe Weakley   Added and configu...
23
24
25
26
27
        Content-Type:
        - application/octet-stream
        Server:
        - Microsoft-HTTPAPI/2.0
        Date:
23108441   Nathan Ockerman   Replace sensitive...
28
29
30
        - Wed, 09 Jan 2019 22:58:01 GMT
        Content-<syspro_company>ength:
        - '36'
f65bf747   Joe Weakley   Added and configu...
31
32
      body:
        encoding: UTF-8
23108441   Nathan Ockerman   Replace sensitive...
33
        string: '614801C3977A2A47B26669EEC9005EF200  '
f65bf747   Joe Weakley   Added and configu...
34
      http_version: 
23108441   Nathan Ockerman   Replace sensitive...
35
    recorded_at: Wed, 09 Jan 2019 22:58:00 GMT
f65bf747   Joe Weakley   Added and configu...
36
37
  - request:
      method: get
23108441   Nathan Ockerman   Replace sensitive...
38
      uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Fetch?UserId=614801C3977A2A47B26669EEC9005EF200%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CFetch%20xmlns:xsd=%22http://www.w3.org/2001/XM<syspro_company>Schema-instance%22%20xsd:noNamespaceSchema<syspro_company>ocation=%22COMFCH.XSD%22%3E%0A%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%3CKey%3E02%3C/Key%3E%0A%20%20%0A%20%20%3CFullKeyProvided%3EY%3C/FullKeyProvided%3E%0A%20%20%3CDefaultType%3E%3C/DefaultType%3E%0A%20%20%3CEspressoFetch%3EN%3C/EspressoFetch%3E%0A%3C/Fetch%3E%0A%0A
f65bf747   Joe Weakley   Added and configu...
39
40
41
42
43
      body:
        encoding: US-ASCII
        string: ''
      headers:
        User-Agent:
193ef3c1   Nathan Ockerman   LM issue 845 - sh...
44
        - Syspro/7 RubyBindings/1.0.0.alpha.2
f65bf747   Joe Weakley   Added and configu...
45
46
47
48
49
50
51
52
53
54
55
        Content-Type:
        - application/x-www-form-urlencoded
        Accept-Encoding:
        - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
        Accept:
        - "*/*"
    response:
      status:
        code: 200
        message: OK
      headers:
f65bf747   Joe Weakley   Added and configu...
56
57
58
59
60
        Content-Type:
        - application/octet-stream
        Server:
        - Microsoft-HTTPAPI/2.0
        Date:
23108441   Nathan Ockerman   Replace sensitive...
61
62
63
        - Wed, 09 Jan 2019 22:58:01 GMT
        Content-<syspro_company>ength:
        - '3911'
f65bf747   Joe Weakley   Added and configu...
64
65
      body:
        encoding: UTF-8
23108441   Nathan Ockerman   Replace sensitive...
66
67
68
69
        string: "<?xml version=\"1.0\" encoding=\"Windows-1252\"?>\n<InvMaster <syspro_company>anguage='05'
          <syspro_company>anguage2='EN' CssStyle='' DecFormat='1' DateFormat='01' Role='01'
          Version='7.0.035' OperatorPrimaryRole='   '>\n<StockCode>02</StockCode>\n<Description>STR</Description>\n<<syspro_company>ongDesc>SPEARMINT
          TERPENES</<syspro_company>ongDesc>\n<AlternateKey1/>\n<AlternateKey2/>\n<EccUser/>\n<StockUom><syspro_company>B</StockUom>\n<AlternateUom>KG</AlternateUom>\n<OtherUom>DR</OtherUom>\n<ConvFactAltUom>
f65bf747   Joe Weakley   Added and configu...
70
71
72
          \    2.204620</ConvFactAltUom>\n<ConvMulDiv>M</ConvMulDiv>\n<ConvFactOthUom>
          \  400.000000</ConvFactOthUom>\n<MulDiv>M</MulDiv>\n<Mass>           1.000000</Mass>\n<Volume>
          \          0.000000</Volume>\n<Decimals>3</Decimals>\n<PriceCategory>A</PriceCategory>\n<PriceMethod>C</PriceMethod>\n<Supplier/>\n<CycleCount>
23108441   Nathan Ockerman   Replace sensitive...
73
74
75
76
          0</CycleCount>\n<ProductClass>STRP</ProductClass>\n<TaxCode>A</TaxCode>\n<OtherTaxCode/>\n<<syspro_company>istPriceCode>A</<syspro_company>istPriceCode>\n<SerialMethod>N</SerialMethod>\n<InterfaceFlag>Y</InterfaceFlag>\n<KitType>N</KitType>\n<<syspro_company>ow<syspro_company>evelCode>
          0</<syspro_company>ow<syspro_company>evelCode>\n<Buyer/>\n<Planner/>\n<TraceableType>T</TraceableType>\n<MpsFlag>N</MpsFlag>\n<BulkIssueFlag>N</BulkIssueFlag>\n<AbcClass/>\n<<syspro_company>eadTime>
          \        0</<syspro_company>eadTime>\n<StockMovementReq>Y</StockMovementReq>\n<ClearingFlag>N</ClearingFlag>\n<SupercessionDate>0000-00-00</SupercessionDate>\n<AbcAnalysisReq>Y</AbcAnalysisReq>\n<AbcCostingReq>N</AbcCostingReq>\n<CostUom><syspro_company>B</CostUom>\n<MinPricePct>
          \ 0.00</MinPricePct>\n<<syspro_company>abourCost>         0.00000</<syspro_company>abourCost>\n<MaterialCost>
f65bf747   Joe Weakley   Added and configu...
77
78
79
80
          \        0.00000</MaterialCost>\n<FixOverhead>         0.00000</FixOverhead>\n<VariableOverhead>
          \        0.00000</VariableOverhead>\n<PartCategory>B</PartCategory>\n<DrawOfficeNum/>\n<WarehouseToUse>H1</WarehouseToUse>\n<BuyingRule>A</BuyingRule>\n<SpecificGravity>
          0.0000</SpecificGravity>\n<ImplosionNum>    0</ImplosionNum>\n<Ebq>         400.000000</Ebq>\n<ComponentCount>
          \   0</ComponentCount>\n<FixTimePeriod> 1</FixTimePeriod>\n<PanSize>           0.000000</PanSize>\n<DockToStock>
23108441   Nathan Ockerman   Replace sensitive...
81
82
83
84
          \        0</DockToStock>\n<OutputMassFlag>F</OutputMassFlag>\n<Shelf<syspro_company>ife>
          \  0</Shelf<syspro_company>ife>\n<Version/>\n<Release/>\n<DemandTimeFence>
          \        0</DemandTimeFence>\n<MakeToOrderFlag>N</MakeToOrderFlag>\n<Manuf<syspro_company>eadTime>
          \        0</Manuf<syspro_company>eadTime>\n<GrossReqRule>I</GrossReqRule>\n<PercentageYield>100</PercentageYield>\n<AbcPreProd>
f65bf747   Joe Weakley   Added and configu...
85
86
87
          \        0.00000</AbcPreProd>\n<AbcManufacturing>         0.00000</AbcManufacturing>\n<AbcSales>
          \        0.00000</AbcSales>\n<AbcCumPreProd>         0.00000</AbcCumPreProd>\n<AbcCumManuf>
          \        0.00000</AbcCumManuf>\n<WipCtlGlCode/>\n<ResourceCode/>\n<GstTaxCode>A</GstTaxCode>\n<PrcInclGst>N</PrcInclGst>\n<SerEntryAtSale/>\n<StpSelection/>\n<UserField1/>\n<UserField2>
23108441   Nathan Ockerman   Replace sensitive...
88
89
90
91
92
93
94
95
          \          0.00000</UserField2>\n<UserField3/>\n<UserField4/>\n<UserField5/>\n<TariffCode/>\n<SupplementaryUnit>N</SupplementaryUnit>\n<EbqPan>E</EbqPan>\n<Std<syspro_company>andedCost>
          \        0.00000</Std<syspro_company>andedCost>\n<<syspro_company>ctRequired>N</<syspro_company>ctRequired>\n<Std<syspro_company>ctRoute/>\n<IssMult<syspro_company>otsFlag>Y</IssMult<syspro_company>otsFlag>\n<InclInStrValid>Y</InclInStrValid>\n<Std<syspro_company>abCostsBill>
          \        0.00000</Std<syspro_company>abCostsBill>\n<PhantomIfComp/>\n<CountryOfOrigin/>\n<StockOnHold/>\n<StockOnHoldReason/>\n<EccFlag>N</EccFlag>\n<StockAndAltUm>N</StockAndAltUm>\n<AltUnitChar>0</AltUnitChar>\n<JobsOnHold/>\n<JobHoldAllocs/>\n<PurchOnHold/>\n<SalesOnHold/>\n<MaintOnHold/>\n<BatchBill>N</BatchBill>\n<BlanketPoExists/>\n<CallOffBpoExists/>\n<DistWarehouseToUse/>\n<JobClassification/>\n<SubContractCost>
          \        0.00000</SubContractCost>\n<DateStkAdded>2005-08-26</DateStkAdded>\n<InspectionFlag/>\n<SerialPrefix/>\n<SerialSuffix/>\n<ReturnableItem/>\n<ProductGroup/>\n<PriceType/>\n<Basis/>\n<ManualCostFlag/>\n<ManufactureUom><syspro_company>B</ManufactureUom>\n<ConvFactMuM>
          \    1.000000</ConvFactMuM>\n<ManMulDiv>M</ManMulDiv>\n<<syspro_company>ookAheadWin>
          \        0</<syspro_company>ookAheadWin>\n<<syspro_company>oadingFactor>     0.000</<syspro_company>oadingFactor>\n<SupplUnitCode/>\n<StorageSecurity/>\n<StorageHazard/>\n<StorageCondition/>\n<ProductShelf<syspro_company>ife>
          \  0</ProductShelf<syspro_company>ife>\n<InternalShelf<syspro_company>ife>
          \  0</InternalShelf<syspro_company>ife>\n<AltMethodFlag/>\n<AltSisoFlag/>\n<AltReductionFlag/>\n<WithTaxExpenseType/>\n</InvMaster>\n "
f65bf747   Joe Weakley   Added and configu...
96
      http_version: 
23108441   Nathan Ockerman   Replace sensitive...
97
    recorded_at: Wed, 09 Jan 2019 22:58:00 GMT
f65bf747   Joe Weakley   Added and configu...
98
  recorded_with: VCR 4.0.0